Subject: RE: [xsl] Navigationg thru XML Elements and manipulating them using XSLT From: "bryan" <bry@xxxxxxxxxx> Date: Tue, 12 Nov 2002 10:06:35 +0100 |
>Arrays are not known in XSLT. You only can create Javascript code from >the XSLT. >Example: ><xsl:template match="Range"> > <xsl:apply-templates select="From"/> ></xsl:template> ><xsl:template match="From"> > <xsl:text/>Array[<xsl:value-of select="position()"/>]=<xsl:text/> > <xsl:value-of select="."/> ></xsl:template> should be amended as javascript begins counting from 0, <xsl:value-of select="position() - 1"/> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How can I obtain a JSP from a, Marcial Atienzar Nav | Thread | Re: [xsl] Navigationg thru XML Elem, David Carlisle |
[xsl] Storing calculated values in , Chitra Lalita Madhwa | Date | RE: [xsl] Calculation of Minimum o, Michael Kay |
Month |