crazyboybert
Programmer
I am looking for an XML method/property which can be used to gain access to a childNode of an element using the tagname similar to how an associative array works. The example below would loop through all child nodes of the root element looking for the text value of a child node with the tag name 'number'.
e.g. (ASP Code) objRootElement.childNodes(i).childNodes("number"
.text
There are properties such as firstchild which retrieve a specific node but i can find nothing other than getElementsByTagName which is document level scope not specific to an element. Or am I misunderstanding that?
Thanks in advance for any help
Rob ------------------------------------
Go placidly amidst the noise and haste,
find what peace there may be in silence.
-Anon
------------------------------------
e.g. (ASP Code) objRootElement.childNodes(i).childNodes("number"
There are properties such as firstchild which retrieve a specific node but i can find nothing other than getElementsByTagName which is document level scope not specific to an element. Or am I misunderstanding that?
Thanks in advance for any help
Rob ------------------------------------
Go placidly amidst the noise and haste,
find what peace there may be in silence.
-Anon
------------------------------------