title: xml string to webpage
body: <p>I am new C#, </p>
  
  <p>I was wondering what the best way would be to display xml string on a asp.net webpage, I tried putting onto a textbox.. but it is not formatted.. is there any way I can make it look formatted. I am getting this XML as a response to a web service so dont know what the structure of xml would be like to read node by node as my xml has come custom elements. this xml is used by users in their projects so formatting is important.. can someone help me with this.. the sample xml file might be like this</p>
  
  <pre><code>&lt;geonames&gt;
      &lt;totalResultsCount&gt;1&lt;/totalResultsCount&gt;
           &lt;code&gt;&lt;postalcode&gt;90210&lt;/postalcode&gt;
         &lt;name&gt;Beverly Hills&lt;/name&gt;
           &lt;countryCode&gt;US&lt;/countryCode&gt;
         &lt;lat&gt;34.09011&lt;/lat&gt;
           &lt;lng&gt;-118.40648&lt;/lng&gt;
           &lt;adminCode1&gt;CA&lt;/adminCode1&gt;
            &lt;adminName1&gt;California&lt;/adminName1&gt;
           &lt;adminCode2&gt;037&lt;/adminCode2&gt;
           &lt;adminName2&gt;Los Angeles&lt;/adminName2&gt;
            &lt;adminCode3/&gt;testing123&lt;adminName3/&gt;
             &lt;/code&gt;
              &lt;/geonames&gt;
  </code></pre>
  
  <p>thanks in advance,
  PS: Let me know if i have make the question more specific or make it more clear.</p>