Jump to content

How to set variable for the text


jle

Recommended Posts

Hi All,I have the xsl as defined below <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:param name="report_title" select="This is Title"/> <xsl:template match="/"> .....and later in the code: <form method="POST"> <table width="700" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="pageTitle">{$report_title}</td> There is problem with the last line. So how to make it correct to set the title dynamicly.Your help is greatly appreciated.Thanks,JL

Link to comment
Share on other sites

Ever heared about value-of?

<td class="pageTitle"><xsl:value-of select="$report_title"/></td>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...