Robert,
The best way is to pass an XmlSerializerNamespaces object to the
Serialize() method, as I describe in [0].
You could also modify the generated class to force the namespace prefix
when serializing instances [1], but I am generally not a friend of
modifying generated code
[0] http://www.topxml.com/xmlserializer/namespaces_at_runtime.asp
[1] http://www.topxml.com/xmlserializer/xmlserializernamespaces.asp
> -----Original Message-----
> From: Robert Strickland [mailto:bstrickland@comporium.net]
[quoted text clipped - 21 lines]
> stream
> correctly?
Robert Strickland - 29 Dec 2004 13:04 GMT
That worked. Thanks.
> Robert,
>
[quoted text clipped - 34 lines]
>> stream
>> correctly?