[jdom-interest] Question about "standalone" tag... [eg]
jhunter at collab.net
Fri Apr 6 09:56:54 PDT 2001
You'll see in the TODO.txt file an entry to figure out the best way to
support this. It seems straightforward to have a doc.setStandalone()
and doc.getStandalone() pair of methods that the XMLOutputter can use on
output. Anyone have another idea, like maybe to try to be smarter about
it, performing some checking that what they set to be standalone truly
One problem here is that SAX doesn't tell us the standalone flag value,
so round tripping won't be 100%.
"Pugh, Eric" wrote:
> I am trying to get my XML document to conform to another company's
> specifications. They want the tag:
> <?xml version="1.0" encoding="US-ASCII" standalone="no"?>
> to show up. I know how to set everything except the standalone="no" tag to
> work... Does standalone="no" mean reference a DTD or something?
> How do I add that tag?
> Eric pugh
> To control your jdom-interest membership:
More information about the jdom-interest