[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: how to use the xsl:param in the output html script
Hi, > I want to pass the xsl:param value into the output html > script function. > The Code as follows. > > <xsl:param name="VariableNum" select="count(/Variable)"/> > <script> > var Variable0 = new Array({$VariableNum}); > </script> > > It failed. > How can I do? > Thanks in advance. The curly braces act as expression delimiters only in Attribute Value Templates, see <http://localhost/TR/xslt/#attribute-value-templates>. Use xsl:value-of to create a text node, see <http://localhost/TR/xslt/#value-of>. Cheers, Jarno
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|