This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: preceding-sibling context
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: preceding-sibling context
- From: "Eliot, Topher" <Christopher_Eliot at jdedwards dot com>
- Date: Wed, 1 Nov 2000 18:22:18 -0400 (EST)
- Reply-To: xsl-list at mulberrytech dot com
>
> does the preceding-sibling axis look at the document or the
> current context
> node-set? In my trials it seems to look at all the siblings
> in the document
> rather than just the context node set.
That's what Kay's book seems to say. See page 336 and 338:
An axis is a path through the document tree...
preceding-sibling
This selects all the nodes that precedthe origin node, and that are children
of the same parent node, in reverse document order. If the origin is a root
node, an attribute node, or a namespace node, then the preceding-sibling
axis will always be empty.
> If it is not designed to look at the node-set, then is it
> possible to see
> the previous node of the current context node-set some other way?
Sorry, can't help you here.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list