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
Sent: Monday, June 10, 2002 3:13 PM
Subject: convert dom_document to char*

hi everybody
i 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
***************************************************************

Reply via email to