|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: displaying results in 2 columns
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








