This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: no wonder i'm confused about the node() function
- From: Bob Stayton <bobs at sco dot com>
- To: "Robert P. J. Day" <rpjday at mindspring dot com>
- Cc: docbook apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Sun, 02 Mar 2003 21:00:01 -0800
- Subject: Re: DOCBOOK-APPS: no wonder i'm confused about the node() function
- References: <Pine.LNX.4.44.0303021456140.5185-100000@dell>
On Sun, Mar 02, 2003 at 03:01:32PM -0500, Robert P. J. Day wrote:
>
> "XSLT", Doug Tidwell, p. 51
>
> "* The node() node test, which selects all nodes in the current
> context, regardless of type. This includes elements, text, comments
> processing instuctions, attributes, and namespace nodes."
>
> "XSLT Programmer's Reference", 2nd ed., Michael Kay, p. 432
>
> "Since root nodes, attribute nodes and namespace nodes are never
> children of another node ... they will never be matched by the
> pattern node()."
>
> "http://www.w3.org/TR/xslt"
>
> "* node() matches any node other than an attribute node and
> the root node"
>
>
>
> at this point, i'm scared to read anything else for the fear
> of getting a *fourth* opinion.
Ask Norm. He helped write the XSLT Recommendation.[1]
[1] http://www.w3.org/TR/xslt#section-Acknowledgements
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs at sco dot com