Subject: Re: Simple count question From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 28 Feb 2000 23:07:10 GMT |
> <xsl:value-of select="count(software/descendent::*[ name() != ' ' ])"> that selects all descendents of the software element with element type name notthe space character ' ' , which is all of them as that is not a legal XML name. > Give a count of software without any child element for the "software" > node ? In the above example, the answer should be 2. > I think you wanted count(software[not(*)]) David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Simple count question, Pady Srinivasan | Thread | using xsl:key, Peter Foley |
xpath question, Brian Dupras | Date | using xsl:key, Peter Foley |
Month |