title: Most elegant way to query XML string using XPath
body: <p>I'm wondering what the most elegant way is in C# to query a STRING that is valid xml using XPath?</p>
  
  <p>Currently, I am doing this (using LINQ):</p>
  
  <pre><code>var el = XElement.Parse(xmlString);
  var h2 = el.XPathSelectElement("//h2");
  </code></pre>