This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Count Nodes
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Count Nodes
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 19 Oct 2000 19:14:34 +0100
- Reply-To: xsl-list at mulberrytech dot com
> I am trying to keep a count of the rownumber and pass it down
> as each one is picked up. And I am having trouble with that.
> Could anyone throw any suggestions.
>
Stop thinking procedurally! Use a function that calculates the row number,
e.g.
count(preceding::item), or a variable initialised using <xsl:number>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list