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: "Thomas B. Passin" <tpassin at mitretek dot org>
- Date: Wed, 2 May 2001 16:08:55 -0400
- References: <AOEKKCOOGNDOAHCLNEIFAEPDCFAA.mike@wyeast.net>
- Reply-To: xsl-list at lists dot mulberrytech dot com
[Michael Fitzgerald]
> I was wondering if any of you folks out there could answer a question
about
> 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. It may exercise rights of paternity but is disowned by its
parent!
> How cruel! [0]
>
> I would appreciate the technical reason, if there is one.
>
Because child elements are part of the tree structure, but attributes are
seen as being properties of the element separate and apart from the tree.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list