title: XElement namespaces (How to?)
body: <p>How to create xml document with node prefix like:</p>
  
  <pre><code>&lt;sphinx:docset&gt;
    &lt;sphinx:schema&gt;
      &lt;sphinx:field name="subject"/&gt;
      &lt;sphinx:field name="content"/&gt;
      &lt;sphinx:attr name="published" type="timestamp"/&gt;
   &lt;/sphinx:schema&gt;
  </code></pre>
  
  <p></p>
  
  <p>When I try to run something like <code>new XElement("sphinx:docset")</code> i getting exception </p>
  
  <blockquote>
    <p>Unhandled Exception: System.Xml.XmlException: The ':' character, hexadecimal val
    ue 0x3A, cannot be included in a name.<br>
       at System.Xml.XmlConvert.VerifyNCName(String name, ExceptionType exceptionTyp
    e)<br>
       at System.Xml.Linq.XName..ctor(XNamespace ns, String localName)<br>
       at System.Xml.Linq.XNamespace.GetName(String localName)<br>
       at System.Xml.Linq.XName.Get(String expandedName)</p>
  </blockquote>