[jdom-interest] Character Data translation (ï etc.... please
jhunter at collab.net
Sun Jan 7 23:00:00 PST 2001
David Ngo wrote:
> Hi all, I am parsing an html file using JDOM and running into "character
> data" problem.
> i.e. Input string <JavaXML:Heading>Introduction ï</JavaXML:Heading>
> Once it is in the JDOM tree the ï got translate into an extended
> character number which make it hard time to translate it back.
> Is there a way to preserve the character data when building the JDOM
> instance or what is the best way to translate it back to its original form,
ï is an entity representing an extended char. On read it's
converted to a character, as it should be. Then on output with
XMLOutputter, it's converted back to an entity.
More information about the jdom-interest