When I submit my xmldocument to my web server it is adding in a namespace
with no namespace to the root which is preventing me from using an xpath on
the document. The xml submitted via soap to the web service looks like this:
<root xmlns="facts">
<mydata>.....</mydata>
</root>
I have used the namespacemanager thus, where sysFieldDoc is the xmldocument:
Dim myNamespace As XmlNamespaceManager = New
XmlNamespaceManager(sysFieldDoc.NameTable)
myNamespace.AddNamespace("", "facts")
but when I do sysFieldDoc.selectNodes("//ROOT",myNamespace).count I still
get nadda!!
Any thoughts or suggestions?
Cheers
Keith