[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] attribute nodes


Subject: RE: [xsl] attribute nodes
From: Dan Diebolt <dandiebolt@xxxxxxxxx>
Date: Wed, 2 May 2001 13:24:11 -0700 (PDT)

>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



Current Thread