Subject: Re: [xsl] position() in xsl:for-each From: Vidar Ramdal <vramdal@xxxxxxxxx> Date: Fri, 9 Jul 2004 11:34:20 +0200 |
On Fri, 9 Jul 2004 10:10:02 +0100, David Carlisle <davidc@xxxxxxxxx> wrote: > > > > What puzzles me is that following-sibling::*[1] selects the next > > element in the input tree, and not in the nodeset I select in the > > for-each. > > All axes always navigate around the original tree. The parent, siblings, > children, etc of a node are a fixed feature of that node, they don't > change depending on which node set you are considering. > > Node sets are just unordered sets of nodes you can't navigate around > them using Xpath notation. Thank you both! Guess I'll have to read up on the definition of "context node" and nodesets. -- Vidar S. Ramdal "Fighting for peace is like fucking for virginity"
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] position() in xsl:for-eac, David Carlisle | Thread | [xsl] FO error, Ranjan K. Baisak |
Re: [xsl] position() in xsl:for-eac, Vidar Ramdal | Date | Re: [xsl] FO error, Mukul Gandhi |
Month |