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: Count Nodes


> 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

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