title: C# XPathSelectElement returns null
body: <p>I am trying to use the XPathSelectElement method of the System.Xml.XPath namespace but for some reason it always returns null, and I have no idea why.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>TextReader stream = new StreamReader("config.ini");
  XmlReader reader = XmlReader.Create(stream);
  XElement xml = XElement.Load(reader);
  
  XElement file = xml.XPathSelectElement("Config/File");
  </code></pre>
  
  <p>Here is the XML file it is trying to read:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Config&gt;
   &lt;File&gt;serp_feed.xml&lt;/File&gt;
  &lt;/Config&gt;
  </code></pre>
  
  <p>I have tried many things (adding a namespace table, changing the XPath, etc.) but nothing works!</p>
  
  <p>Any ideas?</p>