You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by David Blevins <da...@visi.com> on 2000/02/08 20:50:02 UTC
Generating XML from a DOM
Can Xerces-J generate XML from a DOM?
thanks,
Dave
Re: Generating XML from a DOM
Posted by Assaf Arkin <ar...@exoffice.com>.
ser = new org.apache.xml.serializer.XMLSerializer( OutputStream );
ser.serialize( doc );
arkin
David Blevins wrote:
>
> Can Xerces-J generate XML from a DOM?
>
> thanks,
> Dave
--
----------------------------------------------------------------------
Assaf Arkin www.exoffice.com
CTO, Exoffice Technologies, Inc. www.exolab.org
Re: Generating XML from a DOM
Posted by Ralf Pfeiffer <rp...@apache.org>.
David Blevins wrote:
> Can Xerces-J generate XML from a DOM?
>
> thanks,
> Dave
Check out the dom.DOMWriter in samples directory.
--
<person name="Ralf I. Pfeiffer" " email="rpfeiffe@apache.org" />
Re: Generating XML from a DOM
Posted by RHS Linux User <hn...@ns1.netarx.com>.
There's a good sample of generating XML from a DOM Tree in a file
under the "samples" directory called "DOMPrint". This is in the C/C++
distribution, but it should be easily translatable into Java if it
not in the java distribution.
HTH
--Harmon
On Tue, 8 Feb 2000, David Blevins wrote:
> Can Xerces-J generate XML from a DOM?
>
> thanks,
> Dave
>