You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Jean Georges PERRIN <jg...@4js.com> on 2000/01/05 17:16:04 UTC

Saving ...

[Xerces 1.0.1 / C++ / Win32]

How do I save a modified tree ?

I have created a dom tree with DOMParser, it is working ok, I can count and
navigate through my stuff, but how do I save it back to disk once I have
finished ?

TIA

Jean Georges PERRIN
--
Four J's Development Tools (www.4js.com)
jgp@4js.com - Tel +33 (0)3 88 18 61 20 - Fax +33 (0)3 88 18 61 21
--
CAUTION: import com.fourjs.StandardDisclaimer;



Re: Saving ...

Posted by Assaf Arkin <ar...@exoffice.com>.
import org.apache.xml.serialize.*;

Serializer ser;

ser = new XMLSerializer( output );
ser.serializeDocument( doc );


arkin


Jean Georges PERRIN wrote:
> 
> [Xerces 1.0.1 / C++ / Win32]
> 
> How do I save a modified tree ?
> 
> I have created a dom tree with DOMParser, it is working ok, I can count and
> navigate through my stuff, but how do I save it back to disk once I have
> finished ?
> 
> TIA
> 
> Jean Georges PERRIN
> --
> Four J's Development Tools (www.4js.com)
> jgp@4js.com - Tel +33 (0)3 88 18 61 20 - Fax +33 (0)3 88 18 61 21
> --
> CAUTION: import com.fourjs.StandardDisclaimer;