Hi,
I am executing the following. Given an XDocument doc;
doc.XPathEvaluate("//namespace-uri()");
I get the error '//namespace-uri()' has an invalid token.
It seems to work in a node test, for example "//*[namespace-uri()='xyz']". The function should work though, XMLSPY is happy with the above version, and I believe it uses the same engine.
Any help would be appreciated. I want to enumerate all the namespaces in the document using xpath.
Thanks Regards Craig.