Re: [xsl] context-independent counter

Subject: Re: [xsl] context-independent counter
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 7 Feb 2001 16:30:03 GMT
> Then I need a
> context-independent-counter, that doesn't care about
> the position, the level, or any other aspect of the
> current node's context.

No, you first select the nodes that you do need, then position()
will refer to the position in that list. You never _need_ an updatable
variable. Declarative programming languages have the same expressive
power as procedural ones.


This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit

 XSL-List info and archive:

Current Thread