|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Adding standalone="yes" to XML document
Uche Ogbuji wrote: >>I am on the process of creating an XML document using JDOM API's for which >>need to add standalone="yes". How can this be done ? > > I'm not familiar with JDOM, but I don't know of any XML "API" that allows such > fine control over the XML declaration. Your best bet is probably a text > processing step after serialization from DOM that changes the declaration > according to your needs. Since you'll probably have firm control over the > documents you're producing, you might be able to control the trickier aspects > of this. PerlSAX2 makes that information part of the start_document() call, and SAX writers should honour it. I suppose you could get Java SAX writers to honour the is-standalone property? -- Robin Berjon <robin.berjon@e...> Research Engineer, Expway http://expway.fr/ 7FC0 6F5F D864 EFB8 08CE 8E74 58E6 D5DB 4889 2488
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








