Hi, there,

      The lastest nightly build has an implementation for DOMWriter and
the updated sample DOMPrint
which shows how to make use of the new interface.

      In the case you need a char* representation of XML Stream, simply
invoke DOMWriter::writeToString(node)
followed by XMLString::transcode().

Rgds,
PeiYong

Jorge Pozo Ramirez wrote:

>     The current Xerces-C version (1.7), does NOT provide an standard
> method for writting XML documents. Nevertheless, you may take some of
> the DOMPrint sample code and re-write it to your our own needs.
> Next Xerces release, (and the current nightly build), are planned to
> meet DOM level3 recomendations, which includes serialization methods
> for outputting XML trees.     Jorge
>
>      ----- Original Message -----
>      From: adelxml
>      To: [EMAIL PROTECTED]
>      Sent: Monday, June 10, 2002 3:13 PM
>      Subject: convert dom_document to char*
>       hi everybodyi am a new user i xerces c for linux.i have 2
>      questions :1/how can I convert an XML document to
>      char*:example , can I convert the DOM_Document (doc)
>      obtainted in the sample CREATEDOMDOCUMENT  to char*.2/how
>      can I write in a file or view on the screen this
>      document.thanks all
>
>
>      ***************************************************************
>
>      Este mensaje ha sido analizado con una herramienta
>      de deteccion de virus para su seguridad.
>      Ministerio de Justicia
>
>      **************************************************************
>


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

Reply via email to