Remember that the DOM's view of the text is _after_ character references have been expanded -- if you put & in a DOM Text node, that's the same thing as & in the XML file. To write an Entity Reference, you must use an Entity Reference Node that refers to an existing Entity definition -- and note that as of DOM Level 2 there is no portable way to programmatically create Entity definitions. (DOM Level 3 is expected to close that gap, as part of the Abstract Schema work.)
- Re: Entity and Entity Reference Joseph_Kesselman
- Re: Entity and Entity Reference Ted X. Toth
