This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Simple XSL Question


> How can I count all the children of the element column where nr = 2?
> Should be something like this:
> <xsl:value-of select="count(//tablelayout/column/*)"/>

Yes, it's

<xsl:value-of select="count(//tablelayout/column[@nr='2']/*)"/>

Mike Kay 




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]