XAttribute Generating strange namespaces
- by Adam Driscoll
I'm constructing an XElement with a couple attributes that have different namespaces. The code looks like this:
var element = new XElement("SynchronousCommand",
new XAttribute("{wcm}action", "add"),
new XAttribute("{ns}id", Guid.NewGuid()),
new XElement...
…