[
Lists Home |
Date Index |
Thread Index
]
- From: hehangjun <hungenhe@sina.com>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Thu, 30 Nov 2000 11:59:41 +0800
hello,everyone
<TABLE BORDER="1">
<xsl:for-each select="products/product">
<xsl:if expr="(childNumber(this) % 2) == 1">
<TR>
<TD><xsl:value-of /></TD>
<TD><xsl:value-of select="../product[index() $gt$ context()!index()][0]"/></TD>
</TR>
</xsl:if>
</xsl:for-each>
</TABLE>
anyone knows context() and index() and childNumber() mean?
hehangjun
hungenhe@sina.com
- Follow-Ups:
- Re:
- From: Jiri Jirat <Jiri.Jirat@idoox.com>
|