Re: Context node/Predicates in Expressions

Subject: Re: Context node/Predicates in Expressions
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 26 May 2000 14:13:30 -0600 (MDT)
> 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


Current Thread