This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Context node/Predicates in Expressions


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]