This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: needing clarification about XSL transformation
- From: "Robert P. J. Day" <rpjday at mindspring dot com>
- To: Jirka Kosek <jirka at kosek dot cz>
- Cc: Vitaly Ostanin <vyt at vzljot dot ru>, docbook-apps at lists dot oasis-open dot org
- Date: Mon, 03 Mar 2003 11:28:21 -0500 (EST)
- Subject: Re: DOCBOOK-APPS: Re: needing clarification about XSL transformation
On Mon, 3 Mar 2003, Jirka Kosek wrote:
> Vitaly Ostanin wrote:
>
> > node() is not a comment, not PI, not attribute - it just node
> > like
> > <node/>
>
> With respect, you are wrong. Exact behaviour of node() is defined in
> XPath recommendation and you can read in section 2.3:
>
> "A node test node() is true for any node of any type whatsoever."
>
> any type = element node, PI node, comment node, ...
which agrees with tidwell, but disagrees with kay, and definitely
disagrees with http://www.w3.org/TR/xslt, which states, (Section 5.2)
"node() matches any node other than an attribute node or the
root node"
my brain hurts.
rday