Tom Palmer asked

> I'm having trouble with getting access to the primitive entities
> (i.e., amp, apos, quot, lt, and gt).
>
> I'm using DOMParser, and the code suggests that these are
> explicitly ignored.  How can I get them into the parsed text?
>

Entity reference information is not maintained by the DOM for
primitve character references, as you found.  This is intentional.

Reply via email to