re
 the structure model is passed to the DOM; in this case, there will
 be no EntityReferences in the DOM tree.
 <P>
 Quoting the 10/01 DOM Proposal,
 <BLOCKQUOTE>
 "The DOM Level 1 does not support editing Entity nodes; if a user
 wants to make changes to the contents of an Entity, every related
 EntityReference node has to be replaced in the structure model by
 a clone of the Entity's contents, and then the desired changes
 must be made to each of those clones instead. All the
 descendants of an Entity no