[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Re: XSLT Tree Model

Subject: Re: Re: Re: XSLT Tree Model
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Thu, 04 Oct 2001 15:10:07 +0100
Re:  Re: Re: XSLT Tree Model
Hi Dimitre,

Dimitre Novatchev wrote:
> 
> 2. A more direct answer (page 406):
>    "Although the formal usually give the answer you would expect intuitively,
>     there can be surprises. For example, you might expect the pattern "node()"
>     to match any node; but it doesn't. As an expression it short for
>    "./child::node", and the only nodes that this can select are nodes that are
>     children of something. Since root nodes, attribute nodes and namespace nodes
>     are never children of another node, they will never be matched by the
>     pattern "node()""
> 
> I can only add, that due to the fact that only the "child" and "attribute" axis are
> allowed in a pattern (excluding contents of predicates where any XPath expression is
> OK), this effectively means, that namespace nodes cannot be matched by a pattern.
> 
which very nicely explains my puzzle on the 'Re:  "*|@*|text()" vs.
"node()"' thread - thanks!

Francis.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.