Re: Attr nodes

> Don't confuse IDL attributes with implementation fields. An IDL
>attribute is just a value you can read or set. Where it's stored is a
>completely separate issue, and is up to the implementation.
>
>The DOM API says that the Attr node's value is always equal to the
>concatenation of the values of its Text descendents, and that when you
>set this node's value that's taken as a request to replace those
>descendents with a single Text node containing the new value. I don't
>think we actually said whether it will be a new Text node, or whether one
>of the existing Text children of the Attr (if any) will be reused by
>having the new value assigned to it. I believe either is acceptable.

I'm sorry, but I can't find where it is stated that the Attr node's value
is constructed that way.
Now I read it again, I can see that the value is not primarily the value
of nodeValue, but it is not made really clear what it is.

Thanks,

	Mark Hellegers

Received on Thursday, 14 February 2002 14:58:52 UTC