[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Navigationg thru XML Elements and manipulating the
>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
|
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
|