Re: [xsl] Position() of parent node

Subject: Re: [xsl] Position() of parent node
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 6 Feb 2001 19:00:56 GMT
> A single node can have
> different "positions" in different node-sets.


different positions in different node lists.

It can have different positions in the _same_ node set, by default the
current node list generated from a node set consists of the nodes in
document order, but that can be varied, eg with xsl:sort.

<xsl:for-each select="$x">


<xsl:for-each select="$x">
 <xsl:sort selct="foo">

iterate over the same node set, $x, but produce a different current node
list (and so position() of each node will be different in th etwo cases).


 XSL-List info and archive:

Current Thread