DOMNode to char* conversionDo you mean something like getTextContent() in
the DOMNode class?

Or you can take DOMWriters method writeToString(const DOMNode &nodeToWrite),
this tries to return the serialized XML represantation of the given Node.

Regards,
Denny

----- Original Message ----- 
From: Milan Tomic
To: Xerces-C
Sent: Monday, December 01, 2003 3:10 PM
Subject: DOMNode to char* conversion




    How can I convert DOMNode value (with all child nodes) to char*? I need
something like this:
DOMNode *dn;
...
//Do something with "dn" node
...
char* xmlFile = dn->AsXML(); //it should return whole xml file - all values
of all child nodes of "dn" element
return xmlFile;
Thank you.


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

Reply via email to