This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Context node/Predicates in Expressions
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Context node/Predicates in Expressions
- From: John Robert Gardner <jrgardn at emory dot edu>
- Date: Fri, 26 May 2000 14:48:46 -0400 (EDT)
- Reply-To: xsl-list at mulberrytech dot com
On Fri, 26 May 2000, Kay Michael wrote:
> > Is node() allowable in a match pattern? If so, it would
> > follow that the
> > last clause would prevent the root node from matching it.
>
> Yes, node() means child::node(), and matches any node that is the child of
> something. Which means any node except a root, attribute, or namespace.
so, to further pummel a deceased equine mammal:
/ can not = node()
node() can not = @ (b/c, per my prev. misunderstanding corrected by Mike,
* are parents of @, but @ are not children of *)
Hoping I've got it straight, and thanks to the many bards and guru's
who've weighed in on this!
=-=-=-=-=-=-=-=-=-==-=-=-=
John Robert Gardner, Ph.D.
XML Engineer
Emory University
------------------------------------------------------------
http://vedavid.org/diss/
"There is a difference between knowing The Path, and walking the Path."
-Lawrence Fishburn/Morpheus
>
> Mike K
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list