Hi Mark,
Thanks for your wait.
If you don¡¯t need xsi and xsd declaration with xml serialization, you can
use XmlSerializerNamespaces object.
XmlSerializerNamespaces xmlnsEmpty = new XmlSerializerNamespaces();
xlnsEmpty.Add("", "");
// Serialization
XmlSerializer s = new XmlSerializer(typeof(XmlSerializerClass));
TextWriter w = new StreamWriter(@"c:\list.xml");
s.Serialize(w, myList,xmlnsEmpty);
w.Close();
Please feel free to reply me if there is anything unclear, and we will
follow up.
Have a great weekend!
Best regards,
Wen Yuan