You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by baranidharan <ba...@sifycorp.com> on 2009/02/12 07:01:55 UTC
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 admin@sifycorp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
RE: node and getElementsByTagName
Posted by Jesse Pelton <js...@PKC.com>.
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:baranidharan.kuppusamy@sifycorp.com]
Sent: Thursday, February 12, 2009 1:02 AM
To: c-dev@xerces.apache.org
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 admin@sifycorp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org