This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: attribute nodes


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]