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


> "body" matches 
> node in the current node list that
>   has name body and is in the null namespace and for which there exists
>   some node, N, anywhere in the source tree such that the body element is a
>   child of N.

Oh, interesting. I'm sure that is not the only thing wrong with my
late-night, untested, should've-had-the-spec-in-front-of-me explanation
for John. I'm pretty confident that I butchered the true XPath meaning of
"pattern" as well.

> Since all elements are the child of some node, this last clause doesn't
> make any extra restriction in this case.

Is node() allowable in a match pattern? If so, it would follow that the 
last clause would prevent the root node from matching it.

   - 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]