[jdom-interest] Question about turning off escaping & characters..

Pugh, Eric EPugh at MuseumCompany.com
Wed Nov 21 13:04:06 PST 2001


Hi,

In my application, some of my test descriptions have & characters in them,
for instance, "Set the tempo and call the tune—you control every.."

The — is to product a long dash (an em dash?).   However, when it use
the XMLOutputter to create my XML document, it see's the & character and
changes it to —.  Out partner who reads in the XML can't parse this
properly.

How can I turn off this escaping behavior?  The encoding type is ISO-8859-1.

Eric Pugh



More information about the jdom-interest mailing list