[jdev] Child nodes of DOM Attr
Joonas Govenius
joonas.govenius at gmail.com
Mon Sep 17 19:00:39 CDT 2007
Hi all,
I ran into this problem with the Qt DOM implementation when writing
some code for shared XML editing:
If I try to insert a DOM Text node to a DOM Attr node using
appendChild(), nothing happens. Does anyone know for sure whether
that's the correct behavior?
http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-637646024 mentions:
In XML, where the value of an attribute can
contain entity references, the child nodes of
the Attr node may be either Text or
EntityReference nodes...
How are you supposed to add (several of) these nodes if not with appendChild()?
Thanks,
Joonas
More information about the JDev
mailing list