[jdom-interest] How do I create a standalone="no" text in the first
line of my xml doc...
Jason Hunter
jhunter at acm.org
Thu Nov 16 18:19:40 PST 2000
> They want the first line to look like this:
> <?xml version="1.0" encoding="US-ASCII" standalone="no"?>
>
> I can product everything but the standalone="no" tag. How do I do
> that using JDOM?
It's an outputter issue. The default XMLOutputter doesn't have such a
flag, but one could be added. Does anyone have an objection to a
setStandalone(boolean) method?
> Also, is there anything in JDOM to map character sets? I can only use
> characters 32-126 of the US-ASCII set, however I have other characters
> like the e with an accent (0xE9).
XMLOutputter has lots of options regarding charset encodings.
-jh-
More information about the jdom-interest
mailing list