I have the below xml file
    <ins:instrument xmlns:ins="http://instrument" xsi:type="ins:Infra">
    <ins:name>ABC</ins:name>
    <ins:basket>
    <ins:instrument>
     <ins:name>EFG</ins:name>
      </ins:instrument>
     </ins:basket>
     </ins:instrument>
I am using the below code to retrieve only the instrument node which has a xsi:type ="ins:infra"
        XmlDocument configDoc = new XmlDocument();
        configDoc.Load(inputFile);
        XmlNodeList projectNodes = configDoc.GetElementsByTagName("ins:instrument);
I am expecting only one node which has a xsi:type="ins:Infra",But i recieve two ins:instrument nodes. I am using GetElementsByTagName since Its easy to remove a node from the document and save it this way.
How can i fix this issue.
