title: IXMLDocument unable to read data because IXMLNode.Text property always empty
body: <p>I'm trying to read XML file with Delphi TXMLDocument parser but I'm unable to reach data in the nodes and I'm not able to figure out why this is happening. The XML is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;types:NotificaScarto xmlns:types="http://www.fatturapa.gov.it/sdi/messaggi/v1.0" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versione="1.0" xsi:schemaLocation="http://www.fatturapa.gov.it/sdi/messaggi/v1.0 MessaggiTypes_v1.0.xsd "&gt;
    &lt;IdentificativoSdI&gt;111&lt;/IdentificativoSdI&gt;
    &lt;NomeFile&gt;IT01234567890_11111.xml.p7m&lt;/NomeFile&gt;
    &lt;DataOraRicezione&gt;2013-06-06T12:00:00Z&lt;/DataOraRicezione&gt;
    &lt;RiferimentoArchivio&gt;
      &lt;IdentificativoSdI&gt;100&lt;/IdentificativoSdI&gt;
      &lt;NomeFile&gt;IT01234567890_11111.zip&lt;/NomeFile&gt;
    &lt;/RiferimentoArchivio&gt;
    &lt;ListaErrori&gt;
      &lt;Errore&gt;
        &lt;Codice&gt;00100&lt;/Codice&gt;
        &lt;Descrizione&gt;Certificato di firma scaduto&lt;/Descrizione&gt;
      &lt;/Errore&gt;
    &lt;/ListaErrori&gt;
    &lt;MessageId&gt;123456&lt;/MessageId&gt;
    &lt;Note&gt;Note&lt;/Note&gt;
  &lt;/types:NotificaScarto&gt;
  </code></pre>
  
  <p>I need to read the "DataOraRicezione" node so I'm using this code:</p>
  
  <pre><code>procedure TForm1.Button1Click(Sender: TObject);
  var
    XMLD : IXMLDocument;
    N0,N1 : IXMLNode;
  begin
    XMLD:=TXMLDocument.Create(Application);
    XMLD.LoadFromFile('d:\IT01131820936_00175_NS_001.xml');  // the XML is on a file
    XMLD.Active:=TRUE;
    N0:=XMLD.ChildNodes['types:NotificaScarto'];
    N1:=N0.ChildNodes['DataOraRicezione'];
    ShowMessage(N1.Text);  // Empty ?????
  end;
  </code></pre>
  
  <p>I suppose that the problem could be related to the schema. I never read till now xml files like these I'm a newbie about it so I'm not capable to read that value. I search for similar answers but I couldn't reach my goal. Am I missing something?</p>
  
  <p>Thank you
  Davide</p>