J
John Lee
Hi,
I have a document
<root>
<name>John</name>
</root>
and the xpath "//name" will return correct node by using
xmldoc.SelectSingleNode(xpath)
and if the document contains a default namespace
<root xmlns="mynamespace">
<name>John</name>
</root>
the xpath "//name" no longer returns the <name> node
Please help!!!
Thanks very much!
John
I have a document
<root>
<name>John</name>
</root>
and the xpath "//name" will return correct node by using
xmldoc.SelectSingleNode(xpath)
and if the document contains a default namespace
<root xmlns="mynamespace">
<name>John</name>
</root>
the xpath "//name" no longer returns the <name> node
Please help!!!
Thanks very much!
John