xsl-list
[Top] [All Lists]

Re: Equivalence between XSL and XPath expression

2004-12-11 15:42:47
Another way to put it, preceding are nodes that are "closed", i.e. have both their open and closed tags before the context node. The ancestors have their open tag but not their closeing tag before the context node.

Geert Josten wrote:

Never too late to learn something new!

"the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding attribute nodes and namespace nodes"

I must have never used it, I guess. I would probably have noticed quickly enough...

Cheers!

Dimtre Novatchev wrote:

On Sat, 11 Dec 2004 22:24:52 +0100, Geert Josten
<Geert(_dot_)Josten(_at_)daidalos(_dot_)nl> wrote:

Err, correct me if I am wrong, but doesn't the 'preceding' axis include the ancestors as well?




No, it doesn't.


Cheers,
Dimitre.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--






--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--