The documentation indicates that getElementsByTagName() is implemented by DOMDocument and DOMElement, not DOMNode. If you know that your node is one of these types (which you can check by calling DOMNode::getNodeType()), you can cast the node to the appropriate type and call its getElementsByTagName() method.
For further details, please see http://xerces.apache.org/xerces-c/apiDocs-3/index.html (Xerces 3.0) or http://xerces.apache.org/xerces-c/apiDocs-2/index.html (Xerces 2.8). -----Original Message----- From: baranidharan [mailto:[email protected]] Sent: Thursday, February 12, 2009 1:02 AM To: [email protected] Subject: node and getElementsByTagName Hi all DOMNode *n XMLCh *xa = XMLString::transcode("perf_object"); n->getElementsByTagName(xa); In the above , i have dom node , from the dom node i want to use getElementsByTagName whether it is possiable 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]
