I\'m trying to get rid of empty namespace tags in my xml file. All of the solutions i\'ve seen are based creating the xml from scratch. I have various xelements constructed
Possibly it's this: Empty namespace using Linq Xml
This would indicate your document is in a different default namespace than the elements you add.