469,609 Members | 1,209 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

using getElementsByTagName() Query.

I am trying to go to a subchild node of an XML document.

by saying

Document.getElementsByTagName("Details/Market");

but its not allowing me to use sub child nodes.

It works all right if I specify just 'Details'

How can i use a sub child nodes getElementsByTagName?

Is it poss?
Jun 8 '07 #1
1 1729
Dököll
2,364 Expert 2GB
I am trying to go to a subchild node of an XML document.

by saying

Document.getElementsByTagName("Details/Market");

but its not allowing me to use sub child nodes.

It works all right if I specify just 'Details'

How can i use a sub child nodes getElementsByTagName?

Is it poss?
It's likely you need to create two instances of getElementsByTagName. Try it...
Jun 19 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Ian Richardson | last post: by
4 posts views Thread by Japhy | last post: by
2 posts views Thread by Scamjunk | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.