have a look at the DOMprint sample.
-----Original Message-----
From: Dodson, John [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 8:13 AM
To: '[EMAIL PROTECTED]'
Subject: xerces-c question
So, I have a DOM_Document (or a DOM_Element for that matter), and I want
to
convert it to a string/byte representation. That is, I want a char * or
XMLByte * handle to the actual "XML" How do I do that w/o writing lots
of
code?
Example:
DOM_Document doc;
char * str = ???; //
cout << str; // prints the XML
-- or --
XMLByte *xmlBytes = ???;
cout.write (xmlBytes, ...); // prints the XML
Thanks for any suggestions...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]