Scott Hanselman of The Ultimate Tools List fame posts together a useful snippet of code to Serialize an object while omiting the Xml Declaration and the XSD and XSI namespaces -- The XmlFragmentWriter.
This snippet was cobbled together from Sairama, a platform engineer at Corillian and Daniel Cazzulino and, I'm sure, Scott too.
I've always kinda' disliked the extra "baggage" but was waaay too lazy to do anything about it.
[Listening to: Stone Temple Pilots - Where the River Goes]
Friday, August 05, 2005
Omiting the Xml Declaration and the XSD and XSI namespaces
Posted by BigEasy at 8/05/2005 08:49:00 AM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment