This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Context node/Predicates in Expressions
- To: xsl-list at mulberrytech dot com
- Subject: Re: Context node/Predicates in Expressions
- From: Mike Brown <mike at skew dot org>
- Date: Fri, 26 May 2000 14:13:30 -0600 (MDT)
- Reply-To: xsl-list at mulberrytech dot com
> so, to further pummel a deceased equine mammal:
>
> / can not = node()
I don't think that's *quite* what is being said.
node() will match any type of node.
node() by itself is child::node(). It is the child:: that is imposing
restrictions on what nodes are in the set for matching. ancestor::node()
would pick up the root node. Similarly, attribute::node() would pick up
attributes of the context node.
- Mike
___________________________________________________________
Mike J. Brown, software engineer, Webb Interactive Services
XML/XSL stuff: http://www.skew.org/ http://www.webb.net/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list