|
[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
Thank you for your advice. I update my code as follows. <xsl:param name="VariableNum" select="count(/Variable)"/>
<script>
<xsl:text> var Variable0 = new Array( </xsl:text>
<xsl:value-of select="$VariableNum"/>
<xsl:text> );</xsl:text>
</script>It passed the Xalan compiling. I posted code here for other's reference. Chen Yi From: <Jarno.Elovirta@xxxxxxxxx>function Date: Thu, 20 May 2004 09:54:41 +0300Templates, see <http://localhost/TR/xslt/#attribute-value-templates>. Use xsl:value-of to create a text node, see <http://localhost/TR/xslt/#value-of>.
_________________________________________________________________ OmSCJ@=gIOWn4s5D5gWSSJ<~O5M3!* MSN Hotmail!# http://www.hotmail.com
|
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
|

Cart








