title: How to use short namespaces with XElements in .Net?
body: <p>I am parsing an XML (RDF specifically) document, basically mapping it to some strongly typed objects in .Net. I have been using this really long syntax for selecting namespaces something like:</p>
  
  <pre><code>ontology.Elements("{http://www.w3.org/1999/02/22-rdf-syntax-ns#}Property")
  </code></pre>
  
  <p>What I really want to do is something like:</p>
  
  <pre><code>ontology.Elements("rdf:Property")
  </code></pre>
  
  <p>I know with the older XML framework there was a Namespace Manager you could map namespace short names to the URIs, but not sure how to do the same with XElements. Ideas?</p>