You create the DOM as you would normaly and then serialize it to the file.  There are examples in the source and I believe they are also on the site (xml.apache.org).

--Chris Heinemann

Alejandro Raiczyk wrote:

 

Hey people, how can I create a DOM from a XML file ?
I mean, I need something like:

        Document D = CreateDOM("file.xml")

Thanks!