OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Adding standalone="yes" to XML document

[ Lists Home | Date Index | Thread Index ]

> Floks,
> 2nd try,
> 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.

Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Introducing Anobind - http://www.xml.com/pub/a/2003/08/13/py-xml.html
XML Topic Maps by the book - http://www-106.ibm.com/developerworks/xml/library/x-think19.html
Charming Jython - http://www-106.ibm.com/developerworks/java/library/j-jython.html
Python, Web services, and XSLT - http://www-106.ibm.com/developerworks/xml/library/ws-pyth13/
Perspective on XML: What is this ‘agility’? - http://www.adtmag.com/article.asp?id=8004


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS