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: <xsl:number> count problem



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

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