469,929 Members | 1,399 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

how to select nodes with a specific name which are at different level.

I am trying to select a set of nodes in an xml document. (like xmlDocument.SelectNodes(xPath)) but the nodes are at different levels. so am not getting all the node with that node name in all the levels.

how to select nodes with a specific name which are at different level?

thanx in advance.
Feb 5 '08 #1
1 915
priyamv
17
You can get a particular node in the xml doc like
create a node list

nodelist=Xmlobj.getElementByTagname("Nodename")

this node list will contain all nodes with the particular name even whween they are at different levels
Feb 11 '08 #2

Post your reply

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

Similar topics

17 posts views Thread by kalamos | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.