Re: what encoding does system.xml.xmldocument.save(string path) use to save the xml document if there is no <?xml... in the front of the xml document?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Mihai N. <nmihai_year_2000@xxxxxxxxx> wrote:
See my response in the C# newsgroup. It's only mandatory if you're
going to have a strictly "valid" (rather than just well-formed) XML
document.
If you don't have the <?xml then is not an XML document, is an XML fragment.

It's an XML 1.0 document, it's not an XML 1.1 document.

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.