[Home] [By Thread] [By Date] [Recent Entries]
Hello, I can't recognize the functions index(), context() and childNumber(). Where do they come from? There are no such functions in the XSLT specification 1.0. Look at the XSLT reference at our site, what functions are available: http://www.zvon.org/xxl/XSLTreference/Output/index.html Best regards Jirka hehangjun wrote: > > 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@s... -- <name firstName="Jirka" surname="Jirat"/> <mail> jiratj@i... </mail> <support> http://www.zvon.org </support> <zvonMailingList> http://www.zvon.org/index.php?nav_id=4 </zvonMailingList>
|

Cart



