Select specific node from XML document when there is two or more nodes with same name C#
<p>Is there a way to select specific node of XML file when you have nodes with same name more then once?</p>

<p>For example I want to select the value of the node with name IBAN. But I have it twice as a child of some other two nodes.</p>

<p>I am getting node with name IBAN, put it gets first one of course. </p>

<pre><code>public string GetIBANValueFromXML(XmlDocument xmlDoc)
{
    string ibanValue = "";
    XmlNodeList xnList = xmlDoc.SelectNodes("/Element[@*]");

    if (xnList != null)
    {
        foreach (XmlNode xn in xnList)
        {
            XmlNode ibanNode = xn.SelectSingleNode("IBAN");
            if (ibanNode != null)
            {
                ibanValue = ibanNode.InnerText;
            }
        }
    }
    return ibanValue;
}
</code></pre>

<p>If there is a clean way to accomplish this? To use this functionality but to return second IBAN node value?</p>