Lists Home |
Date Index |
- From: Mike Champion <firstname.lastname@example.org>
- To: Patrice Bonhomme <Patrice.Bonhomme@loria.fr>, email@example.com
- Date: Mon, 1 Jun 1998 09:47:54 -0400
At 12:38 PM 5/30/98 -0400, Patrice Bonhomme wrote:
>An Attribute value, within the DOM interface, is a String. But i could have
> <S id="sé1">
>And i want to restore the original attribute value (sé1) when i
>Is it possible for the Attribute class to extend either the ContainerNode
>class or the NodeList class ?
This is admittedly not at all clear in the April 15 draft of the spec, but
the children of an Attribute are the values (the String methods are
conveniences for the HTML world, in which attribute values can't contain
entity references). So, an attribute could have a single Text node as a
value (in the simple case), or a sub-tree of text nodes and whatever entity
references expand to.
This is being re-worked and clarified for the next draft.
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)