Subject: RE: displaying results in 2 columns From: Ben Robb <Ben@xxxxxxxxxx> Date: Fri, 7 Jul 2000 16:34:44 +0100 |
Almost there - just use the "following-sibling" axis in XPath. <table> <xsl:for-each select="thinglist/thing[position() mod 2 = 1]"> <tr> <td><xsl:value-of select="@value"/></td> <td><xsl:value-of select="following-sibling::thing/@value"/></td> </tr> </xsl:for-each> </table> Hope this helps, Ben XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: displaying results in 2 columns, Kay Michael | Thread | Re: ... (Can we get some POSITIVE s, alex chang |
excluding nodes from an xsl templat, Kevin . Hooke | Date | Re: criticism of MSXML (was Re: asp, Mike Brown |
Month |