Thanks Dave. In future, I will also post to one group.

-----Original Message-----
From: David Bertoni [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 20, 2008 1:24 PM
To: [email protected]
Cc: [EMAIL PROTECTED]
Subject: Re: DOM element data retrieval?

Barry, Gregory P. wrote:
> Is there an interface/method available to access the DOM Document/tree

> for retrieval of data based on tag or tree hierarchy (e.g. is there a 
> method were you can pass in the subtree tag name with an element name
to 
> retrieve the data something on the order of 
> getValue(SubTreeName.TagName). Or does this need written in the 
> application that is using the DOM parser using the traversal methods?
Please take a look at DOMElement::getElementsByTagName() and 
DOMElement::getElementsByTagNameNS().  That, along with 
DOMNode::getTextContent() should do what you want.

> I also sent to c-dev in the event this is a dev question.
In the future, please don't cross-post.  The user list is the 
appropriate forum for this sort of question, and you'll get redirected 
otherwise.

Dave

---------------------------------------------------------------------
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]

Reply via email to