Hi all,
Following is a part of an Xml document I am having problems with. I have
a XmlNode variable in my C# application that referes to the mytable node of
the following Xml. Now I need to get all children of mytable node from the
ns0 namespace(myfield1 and myfield2 in this case) using the XmlNode object.
I need a help with Xpath query to achieve this.
Do you think the following statement would work?
mytablenode.SelectNodes("descendant::ns0:*",myname spacemanager);
<ns0:mydataset>
<ns0:mytable>
<w:p>
<ns0:myfield1>value</ns0:myfield1>
</w:p>
<w:p>
<ns0:myfield2>value</ns0:myfield2>
</w:p>
</ns0:mytable>
</ns0:mydataset>
Thanks in advance.