Hi
I am having trouble with namespaces:
Using the .NET System.XML classes, whenever I run an xpath on a file with a
namespace, the xpath query returns nothing, but when I remove the namespace
from the xml file I am quering, the xpath query works.
I am trying to run a SelectSingleNode(xpath) function on an XmlNode, but
when the source xml file has a default namespace, for example:
"xmlns="urn:blah-org:v3" in the root node, then the SelectSingleNode function
does not return anything.
When I remove the default namespace from the source xml file, the the
SelectSingleNode(xpath) function/query works.
What should the xpath be to be able to select nodes from a xml file with a
namespace? Or am I missing something else.
Thanks for you time and your help!
Carlo