How to read data from an xml? : <p>I am using a web service which returns the following xml.
in c # and I made the connection and returns an object of type XmlNode</p>

<p>I need to extract these values ​​primarily TIME_PERIOD = "2010" OBS_VALUE = " 4796580 "
I would appreciate help me</p>

<p>This is the XML</p>

<pre><code>&lt;CompactData xmlns="http://www.SDMX.org/resources/SDMXML/schemas/v2_0/message" xmlns:inegi="urn:sdmx:org.sdmx.infomodel.keyfamily.KeyFamily=inegi:TIPO_B_DSD:compact" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.SDMX.org/resources/SDMXML/schemas/v2_0/message SDMXMessage.xsd urn:estat:sdmx.infomodel.keyfamily.KeyFamily=inegi:DSD_TIPO_B:1.0:compact inegi:DSD_TIPO_B_Compact.xsd"&gt;
&lt;Header&gt;
&lt;ID&gt;BISE&lt;/ID&gt;
&lt;Prepared&gt;2016-05-10T20:00:51&lt;/Prepared&gt;
&lt;Sender id="INEGI"&gt;
&lt;Name xml:lang="en"&gt;Instituto Nacional de Estadística y Geografía&lt;/Name&gt;
&lt;Contact&gt;
&lt;Name xml:lang="en"&gt;Atención a usuarios&lt;/Name&gt;
&lt;Email&gt;
http://www.inegi.org.mx/inegi/contacto/default.aspx
&lt;/Email&gt;
&lt;/Contact&gt;
&lt;/Sender&gt;
&lt;/Header&gt;
&lt;inegi:DataSet&gt;
&lt;inegi:Series INDICADOR="1002000001" COBER_GEO="07000 " FREQ="V" DECIMALS="0" TOPIC="000400010001" NOTE="9,49,115,422,425"&gt;
&lt;inegi:Obs TIME_PERIOD="2010" OBS_VALUE="4796580" OBS_STATUS="D" OBS_UNIT="Número de personas" OBS_SOURCE="487" OBS_NOTE="115,425"/&gt;
&lt;/inegi:Series&gt;
&lt;/inegi:DataSet&gt;
&lt;/CompactData&gt;
</code></pre>
