[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] embedded <xsl-for-each>
hello i have this template: <xsl:template match="FLOW-MENU-GRP"> <xsl:for-each select="/FLOW-MENU-GRP/FAMILY"> <DIV> <xsl:attribute name="ID"><xsl:value-of select="position()"/></xsl:attribute> <xsl:value-of select="text()"/> </DIV> <xsl:for-each select="/FLOW-MENU-GRP/SERVICE"> <DIV> <xsl:attribute name="ID">here i'd like to get the value of position() given above in line 4</xsl:attribute> <xsl:value-of select="text()"/> </DIV> </xsl:for-each> </xsl:for-each></xsl:template> is this possible using and ancestor path? how should i write it? is this possible using <xsl:variable>? how should i use it? thanks sébastien 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
|