RE: Navigationg thru XML Elements and manipulating them using XSLT2002-11-12 02:06:35Arrays 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
|
|