Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Resolving namespace using xpath

 
Shilpa Anju
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have a XML document, that has namespaces in it. I want to use the xpath to search for a specific value of the node. However I am unable to find out how to resolve the namespace.

Can anyone help me with this ?
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XPath has some functions that you can use to "ignore" the namspace if you're certain they're correct. Other than that you could start ripping apart the XML and resolve the namespace prefixes yourself. By the way, what do you mean by "resolve the namespace"?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic