Subject: Re: [xsl] position() in xsl:for-each From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 9 Jul 2004 10:10:02 +0100 |
> 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. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] position() in xsl:for-eac, Vidar Ramdal | Thread | Re: [xsl] position() in xsl:for-eac, Vidar Ramdal |
Re: [xsl] position() in xsl:for-eac, George Cristian Bina | Date | Re: [xsl] Generate N elements, Kenny Bogoe (BogoeMD |
Month |