> I haven't found anything how to omit the document
> declaration

I posted this last night, but I guess it didn't make it through...

Use the overload of XmlSerializer.Serialize that takes an XmlWriter.

Justin Rudd
http://www.pinetree-tech.com/
http://www.pinetree-tech.com/weblog/

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