W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

Re: java and dom

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Thu, 21 Jun 2001 10:11:11 -0400
To: www-dom@w3.org
Message-ID: <OFE5A625F9.8D2B0499-ON85256A72.004D7698@pok.ibm.com>

>how do I put these changes back into the original xml file?

At this time, the DOM has no interfaces for either parsing a DOM from XML
text or writing it out to XML text. DOM Level 3, now in development,
intends to close that gap. But until you can find an implementation which
supports Level 3, the answer is that you have to use application code to do
this.

Most parser packages also come with a "serializer" -- either as a sample
program, or as a utility library, or both. Check your docs. If yours
didn't,  you get to either swipe-and-adapt one from another source (eg the
version Apache is using in Xerces) or write your own.

______________________________________
Joe Kesselman  / IBM Research
Received on Thursday, 21 June 2001 10:12:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT