I have an object generated by an \"Add service reference...\" operation and I am manually serializing it with a generic serializer I wrote.
My problem is that the da
If you have control over the serializer you can always add a null namespace to ensure the xmlns is omitted from the output XML. For instance:
var serializer = new XmlSerializer(target.GetType());
var ns = new XmlSerializerNamespaces();
ns.Add("","");
serializer.Serialize(xmlWriter, target, ns);
Best regards,