Subject: Re: attribute nodes
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Wed, 2 May 2001 16:08:55 -0400
|
[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
|