Hello Jonathan, > Enclosed is a patch for System.Xml.XmlDocument that changes CreateAttribute > to set the namespaces automatically when creating attributes of the form > 'xmlns', 'xmlns:*' and 'xml:*'. Yes. I applied your patch. Thanks! Atsushi Eno