Use an identity transformer (this is much more stable than directly
using a serializer yourself).

Transformer transformer = transformerFactory.newTransformer();
transformer.transform(new DOMSource(yourDOM), new
StreamResult("file.out"));

Note that while Xerces and Xalan both provide their own serializer
interfaces, these are subject to change and will not be quite as stable
over time as using an identity transformer (but they're still available
if you need them).

- Shane

=====
<eof aka="mailto:[EMAIL PROTECTED]"
 quote="A mirror is like a window on the other side of behind you."/>

__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

Reply via email to