thanks, but i did. That's precisely why i asked the question. Do i really
need to write 100's of lines of code simply to convert a DOM_Document (or
DOM_Element) to a simple string?! Man.
-----Original Message-----
From: Olivier Schmitt [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 7:28 PM
To: [EMAIL PROTECTED]
Subject: RE: xerces-c question
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]