Brian Weeres [mailto:[EMAIL PROTECTED]] wrote:

> I must be doing something wrong but I can't get rid of the
> xmlns:

Brian,

Hey sorry, should have provided a sample. You need to Add an empty namespace
to the XmlSerializerNamespaces object like so:

<codeSnippet language="C#">
XmlSerializerNamespaces namespaces = new XmlSerializerNamespaces();
namespaces.Add(String.Empty, String.Empty);

... pass to XmlSerializer::Serialize here ...
</codeSnippet>

HTH,
Drew

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to