This is my code:
XElement itemsElement = new XElement("Items", string.Empty);
//some code
parentElement.Add(itemsElement);
After that I got this:
<Items xmlns=""></Items>
Parent element hasn't any namespace. What can I do, to get an Items element without the empty namespace attribute?