DocumentBuilder.parse() / Parsing Entities
Posted
by stormin986
on Stack Overflow
See other posts from Stack Overflow
or by stormin986
Published on 2010-05-03T17:26:47Z
Indexed on
2010/05/04
23:28 UTC
Read the original article
Hit count: 136
I'm new to parsing XML and am having an issue with entities. (Am doing this on Android, if it makes a difference).
Is there a way to have it turn an entity into the character it represents? I have this in the child of an element: "isn't
" (minus quotes). I would prefer it parse it and the end result be a single text node. However, right now this is turned in to TEXT, ENTITY, TEXT.
Is there a way to automatically have it parse the entity into text, or a manual way to do it?
© Stack Overflow or respective owner