If you're asking how to serialize a DOMNode to text and you're using Xerces 3, you could use DOMImplementationLS. See http://xerces.apache.org/xerces-c/apiDocs-3/classDOMImplementationLS.htm l.
-----Original Message----- From: baranidharan [mailto:[email protected]] Sent: Friday, February 13, 2009 7:57 AM To: [email protected] Subject: How to get a DOMNode XML Hi all , main() { XercesDOMParser* parser = new XercesDOMParser(); parser->parse(xmlFile); DOMDocument *doc = parser->getDocument(); DOMNodeList *ml; XMLCh *xa = XMLString::transcode("monitor"); ml = doc->getElementsByTagName(xa); DOMNode *n; n = ml->item(len); open(n) } void open(DOMNode *n) { ??? How to get a node XML } In the above pseudo program , i want to get a DOMNode xml in the open() function, pls tell me how to get a DOMNode XML. Thanks, Barani Get your world in your inbox! Mail, widgets, documents, spreadsheets, organizer and much more with your Sifymail WIYI id! Log on to http://www.sify.com ********** DISCLAIMER ********** Information contained and transmitted by this E-MAIL is proprietary to Sify Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail & notify us immediately at [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]
