slectsinglenode() passing query

I am trying to use slectsinglenode to get a specific node I know he tree for it. Say /svg/path/path
and I know the index of svg item(0), path item(1) and path ite(0).

I have tried selectsinglenode("/svg[0]/path[1]/path[0]") did not work. Can you help me
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
elgadaaAuthor Commented:
May be I have not explained what I need clearly. I have converted the XML file to a database and I am doing some code to re-export it back to XML. In the database I do record the Tree branches of the node. Say my node is /svc/path/rect. I know also that path is the  child  index (0) of svc. and rect is the child index (1) of path. The way I assumed to locate the node using selectSingleNode, selectSingleNode(/svc[0]/path[1]). I got the return node as nothing. So I need some help to correct the query to point to the right node.
elgadaaAuthor Commented:
I have found the solution:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.