Mike and I were just mucking around trying to make some XPath work with the XPathNavigator. Turns out, we can’t figure out how to make a namespace-aware XPath query with the XPathNavigator. Neither of us see how you would associate a prefix with a namespace to make the query. On an XmlDocument, this is easy using an XmlNamespaceManager, which you pass into Select, but on the XPathNavigator, there’s just no love. I want some love!
Are we on crack? Is there some way to make a namespace-aware query with the XPathNavigator?
Advertisements