|
Subject: [xsl] embedded <xsl-for-each> From: "Sébastien Tisserant" <stisserant@xxxxxxxxxxxxxxx> Date: Thu, 21 Feb 2002 14:24:04 +0100 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Indexing in xsl, Andrew Welch | Thread | RE: [xsl] embedded <xsl-for-each>, Andrew Welch |
| [xsl] Indexing in xsl, Bharathy Itnal | Date | RE: [xsl] SAXON:: Got error on exec, laksh vr |
| Month |