|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Counting Colums in WML
Hi all, I'm attempting to calculate the number of colums as the no. of columns required by the row with the most columns. So in my stylesheet I have something along the lines of <xsl:for-each select="tr"> <xsl:choose> <xsl:when test="count(td) > count(preceding::td)"> <xsl:value-of select="count(td)"/> </xsl:when> </xsl:choose> </xsl:for-each> How do I store the max. value ? In a param/ variable ? Thanks for the help. Ciaran. 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








