You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Steve Carton <sc...@retrievalsystems.com> on 2002/02/20 18:57:21 UTC

Character Entities

Can anyone explain how character entities are handled in the DOM?  I have a documents with many
character entities (some are &gt; &lt; or &quot;, others are in a dtd).  When the document is loaded
to the DOM, the entities seem to be translated.  Why? and can this be stopped?  The documents are
part of a repository where they are edited and maintained. When they are finally extracted for
publishing, the translation of the entity needs to be governed by the output format, so it would
seem logical to me to keep the entities as entities until the document is being prepared (and the
data formatted) for publication.

Steve Carton
703/749-0012
www.retrievalsystems.com