[jdom-interest] Question about "standalone" tag... [eg]

Jason Hunter 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
is standalone?

One problem here is that SAX doesn't tell us the standalone flag value,
so round tripping won't be 100%.

-jh-

"Pugh, Eric" wrote:
> 
> Hi,
> 
> 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?
> 
> Thanks,
> Eric pugh
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list