I am using MSXML DOM to load an XML document; and XPath expression to locate an element. The expression makes use of contains XPath function. For some reason, this does not work and I get "Run-time error '-2147467259(800004005) Unknown method". I am using MSXML 3.0.
The default query that is used is XSLPattern for backward compatibility. To use XPath, change the SelectionLanguage internal property of DOMDocument to XPath, before calling selectNodes or selectSingleNode.