This is the mail archive of the xsl-list@mulberrytech.com mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
but what if an element contains a sequence of elements, such as <departments> <employees> <name>Joe Shmo</name> <name>Bob Shmo</name> </employees> </departments> <xsl:for-each select="(ancestor-or-self::*)" >/*[<xsl:value-of select="1+count(preceding-sibling::*)"/>]</xsl:for-each> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |