OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   No Subject

[ 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>



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS