We\'ve got a web service that returns a very simple XML.
Surprisingly enough (for me), this is the default behaviour for XPath. By default, namespace prefixes are not allowed in an XPath query.
To resolve this, one must register desired prefixes with SelectionNamespaces
property of the DOMObject.
objXML.setProperty("SelectionNamespaces", "xmlns:t='http://our.website.com/ns/'")
After that one can use expressions qualified with t:
in XPath queries.
This also resolvers the original problem that forced us to use XmlNamespaceDeclarations in the first place.