You might want to look into the techniques that were used in the Jivan project ( http://www.jivan.org/ ). Jivan isn't directly applicable to your needs since its purpose is to load HTML files into an HTML DOM. However, its writer copies non-modified parts of the DOM tree directly from the original template. Only modified parts of the DOM lose their original formatting. So, copy the techniques and roll your own.


Jake

At 01:49 PM 10/13/2003 -0400, you wrote:
Colleagues:

Does anyone know if it is possible to use Xerces to parse the input file in such a way that all, or most of the formatting is captured and can be reproduced via serialization ? Is XNI appropriate method for this ? We would love to know about
experiences with parse/serialization approaches that have a greater infoset than that provided by SAX and DOM, especially related to ignorable whitespace and attributes ordering/whitespace. We are editing XML and want to preserve the file as much as possible.


Kind regards,
Oleg Dulin
Opence, Inc.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to