This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: <xsl:number> count problem
- To: xsl-list at mulberrytech dot com
- Subject: Re: <xsl:number> count problem
- From: "David Marston/CAM/Lotus" <David_Marston at lotus dot com>
- Date: Thu, 11 May 2000 14:06:44 -0400
- Reply-To: xsl-list at mulberrytech dot com
To find: total of pb in the div type=introduction
The current node is div type='introdution'
<xsl:for-each select="descendant::pb">
<xsl:number value="position()"/>
<!-- Dont know the second -->
</xsl:for-each>
How about <xsl:value-of select="count(pb)"/>?
.................David Marston
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list