title: How to read xml file and plot it to WebMatrix (C#) page
body: <p>I have never so much as successfully loaded an xml document in WebMatrix (or JavaScript for that matter), despite how many times I have tried.</p>
  
  <p>No online example is complete or accurate.</p>
  
  <p>if I had an xml file that contained this (and only this):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;someNode&gt;
      &lt;someValue&gt;HEY THERE! I'M XML!&lt;/someValue&gt;
      &lt;someValueTwo&gt;Another Value&lt;/someValueTwo&gt;
  &lt;/someNode&gt;
  </code></pre>
  
  <p>How could I (start from loading the xml document etc.) plot the values of the two elements on one of my WebMatrix pages (please include where the code you are providing goes, as I have no clue).</p>
  
  <p>Please include all the places I would need the code not just loading or writing to page.</p>
  
  <p><em><strong></em>**<em>*</em>**<em>*</em>*</strong><em>UPDATE:<strong></em>**<em>*</em>***</strong></p>
  
  <p>Oh, well, nvm, xml is useless anyway, I'll just use another database or render the contents of another external cshtml page or something.</p>
  
  <p>I have looked at XPath before and such, but I am not really worried about selecting them by tagname, id, attribute, etc because researching that would have been easy.</p>
  
  <p>Sometimes I wonder why XML is still around...(Yes, I know it (is supposed to) help communicate data across very different languages and platforms) but the truth is, even with online tutorials and walkthroughs, it doesn't work, and it doesn't seem like there's anyone left who does know how to do this really.  Why is it still around? Isn't it time that WebMatrix got rid of the xml based methods, since they don't work, and since there isn't anyone left who knows how to so much as try to load an xml file without getting errors?</p>
  
  <p>Just curious if xml will be faded out in future updates.</p>
  
  <p><em><strong></em>**<em>*</em>**<em>*</em>*</strong><em>UPDATE:<strong></em>**<em>*</em>***</strong></p>
  
  <p>Okay, I'm told that xml is supposed to still be useful. Do you just have to not be me to get it to work, lol?</p>