XmlMediaTypeFormatter.XmlWriterSettings.OmitXmlDeclaration alternative?

Topics: Web Api
Sep 29, 2011 at 6:19 AM

In Preview 5, it appears that I can no longer XML writer settings:

xmlMediaTypeFormatter.XmlWriterSettings.OmitXmlDeclaration = true;
Suggestions?