This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: attribute nodes
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] attribute nodes
- From: Dan Diebolt <dandiebolt at yahoo dot com>
- Date: Wed, 2 May 2001 13:24:11 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
>Why is it that an attribute node has an element as a parent node but is not
>the child of this element node? An attribute is always associated with an
>element.
If you didn't have this behavior, you would be conflating
the child:: and attribute:: axes into a single axes possibly
called child-or-attribute-can't-tell-which::. Put another way,
if you accept the need for attributes, you need an axis to
address them on and for granularity reasons, this axis
should be distinct from the child:: axis.
Regards,
Dan
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list