There's no standard API for converting a DOM into textual XML syntax. That's one of the things on the list to be looked at in DOM Level 3. Meanwhile, most parsers come with a generator/"unparser" sample program. For example, IBM's XML4C package (and the Apache version of that code, I presume) includes the DOMWriter application. (It also includes a corresponding SAXWriter.) ______________________________________ Joe Kesselman / IBM ResearchReceived on Friday, 3 December 1999 21:43:43 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:51 GMT