[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Select Deepest Node only in Iteration


Subject: RE: [xsl] Select Deepest Node only in Iteration
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 13 Jul 2007 12:44:48 +0100

Start with a change in mindset. position() does work. It just isn't the
answer to your particular requirement.

Within a sorted for-each, position() returns the position of a node in the
sorted sequence.

I don't know what the solution to your requirement is. You haven't told us
what you want to output, only that it's different to what position()
outputs.

Michael Kay
http://www.saxonica.com/


Current Thread