title: How can I remove empty xmlns attribute from node created by XElement
body: <p>This is my code:</p>
  
  <pre><code>XElement itemsElement = new XElement("Items", string.Empty);
  //some code
  parentElement.Add(itemsElement);
  </code></pre>
  
  <p>After that I got this:</p>
  
  <pre><code>&lt;Items xmlns=""&gt;&lt;/Items&gt;
  </code></pre>
  
  <p>Parent element hasn't any namespace. What can I do, to get an <code>Items</code> element without the empty namespace attribute?</p>