Attribute Value Read? : <p>Currently im trying to read a XML attribute with no sucess, so far what i got is :</p>

<pre><code>        XmlDocument _doc = new XmlDocument();
        _doc.LoadXml(@"&lt;DATA jsonclass=""array""&gt;
        &lt;ROW id=""1""&gt;
          &lt;D n=""697""/&gt;
          &lt;D n=""2601""&gt;10815&lt;/D&gt;
          &lt;D n=""3242""/&gt;
          &lt;D n=""3243""&gt;2017-03-15 00:00:00.0&lt;/D&gt;
          &lt;D n=""3245""&gt;+&lt;/D&gt;
          &lt;D n=""3274""/&gt;
          &lt;D n=""4895""&gt;USD&lt;/D&gt;
        &lt;/ROW&gt;
        &lt;ROW id=""1""&gt;
          &lt;D n=""697""/&gt;
          &lt;D n=""2601""&gt;10816&lt;/D&gt;
          &lt;D n=""3242""/&gt;
          &lt;D n=""3243""&gt;2017-03-15 00:00:00.0&lt;/D&gt;
          &lt;D n=""3245""&gt;+&lt;/D&gt;
          &lt;D n=""3274""/&gt;
          &lt;D n=""4895""&gt;USD&lt;/D&gt;
        &lt;/ROW&gt;
      &lt;/DATA&gt;");


        XmlNodeList elemLista = _doc.GetElementsByTagName("D");
        for (int i = 0; i &lt; elemLista.Count; i++)
        {
            string attrVal = elemLista[i].Attributes["n"].Value;

            //this is returnig 2601 and Im looking for **10816**
            Console.WriteLine(attrVal);

            //      Req.RequestAllPOAvailable();`



        }
    }
</code></pre>

<p>I'm expecting to get 10815 and 10816, but the results is the same.... the output still  2601, what im doing wrong? thanks for your help</p>
