title: Read xml embedded in aspx page
body: <p>I want to read this source as xml</p>
  
  <blockquote>
    <p><a href="http://blabla/bla.aspxPageMethod=ElencoPresentiNew&amp;idArea=0&amp;dtRif=&amp;mostra=T&amp;format=xml" rel="nofollow noreferrer">http://blabla/bla.aspxPageMethod=ElencoPresentiNew&amp;idArea=0&amp;dtRif=&amp;mostra=T&amp;format=xml</a></p>
  </blockquote>
  
  <p>That returns a result like the following (straight in the browser, not as file)</p>
  
  <p><img src="https://i.stack.imgur.com/XGznM.png" alt="Screenshot result"></p>
  
  <p>I tried to use XmlDocument or Agilitypack tool, also httpwebrequest, but I get different problems. With xmldocument I get an error saying that some xml elements are missing, with the other methods I get the html source of the page but not the data.
  How can I achieve what I want? Thanks</p>
  
  <p><strong>EDIT:</strong>
  first xml lines from source:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" standalone="yes"?&gt;
  &lt;Result&gt;
      &lt;has_custom_url&gt;false&lt;/has_custom_url&gt;
      &lt;oggi&gt;24.10.2019&lt;/oggi&gt;
      &lt;utente&gt;
          &lt;controlli196eseguiti&gt;true&lt;/controlli196eseguiti&gt;
          &lt;idprofiloutente&gt;17&lt;/idprofiloutente&gt;
          &lt;dizionario&gt;
              &lt;u&gt;U&lt;/u&gt;
              &lt;e&gt;E&lt;/e&gt;
          &lt;/dizionario&gt;
          &lt;nominativo&gt;super&lt;/nominativo&gt;
          &lt;cambiopwd&gt;1567402823277&lt;/cambiopwd&gt;
          &lt;descrinsediamento&gt;Insediamento principale&lt;/descrinsediamento&gt;
  </code></pre>
  
  <p><strong>EDIT 2:</strong></p>
  
  <pre><code>Dim doc As XmlDocument = New XmlDocument()
          doc.Load("http://192.168.2.49/checkandin/area.aspx?PageMethod=ElencoPresentiNew&amp;idArea=0&amp;dtRif=&amp;mostra=T&amp;format=xml")
          Dim ns As XmlNamespaceManager = New XmlNamespaceManager(doc.NameTable)
          Dim nodes As XmlNodeList = doc.SelectNodes("PresentiPerAreaCalc", ns)
          Dim listaIniziale As New List(Of String)
  
          For Each node As XmlNode In nodes
              Dim record As String = node.SelectSingleNode("descrazienda").Value
              listaIniziale.Add(record)
          Next
  </code></pre>