I get an empty xmlns="" attribute in XElemenet in an XML tree. When I set its namespace to the document namespace, like this:
string xmlns="FreeForm/SchemaDescription"; XNamespace ana = xmlns; XElement interactiveRootTag = new XElement(ana + "InteractiveRootTag"); the empty xmlns="" is not exist any more, but all of the children of this XElement, get the empty xmlns="".
Any ideas?