Change this line of code
Code:
oNsMgr.AddNamespace("", "urn:hl7-org:v3");
to
Code:
oNsMgr.AddNamespace("we", "urn:hl7-org:v3");
that is provide an arbitrary prefix instead of leaving it empty and
then change this line
Code:
XmlNode Node=objXml.SelectSingleNode("//receiver");
to
Code:
XmlNode Node=objXml.SelectSingleNode("//we:receiver");
Should work.
Regards
Ankur