|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
what encoding does system.xml.xmldocument.save(string path) use to save the xml document if there iswhat 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? Hello Daniel,
>what encoding does system.xml.xmldocument.save(string path) use to save Please don't double post.>the xml document if there is no <?xml... in the front of the xml document? Oliver Sturm > what encoding does system.xml.xmldocument.save(string path) use to save the The <?xml... is mandatory.> xml document if there is no <?xml... in the front of the xml document? -- Mihai Nita [Microsoft MVP, Windows - SDK] http://www.mihai-nita.net ------------------------------------------ Replace _year_ with _ to get the real email Mihai N. <nmihai_year_2***@yahoo.com> wrote:
> > what encoding does system.xml.xmldocument.save(string path) use to save the See my response in the C# newsgroup. It's only mandatory if you're > > xml document if there is no <?xml... in the front of the xml document? > The <?xml... is mandatory. going to have a strictly "valid" (rather than just well-formed) XML document. -- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet If replying to the group, please do not mail me too > See my response in the C# newsgroup. It's only mandatory if you're If you don't have the <?xml then is not an XML document, is an XML fragment.> going to have a strictly "valid" (rather than just well-formed) XML > document. -- Mihai Nita [Microsoft MVP, Windows - SDK] http://www.mihai-nita.net ------------------------------------------ Replace _year_ with _ to get the real email Mihai N. <nmihai_year_2***@yahoo.com> wrote:
> > See my response in the C# newsgroup. It's only mandatory if you're It's an XML 1.0 document, it's not an XML 1.1 document.> > 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. -- Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet If replying to the group, please do not mail me too |
|||||||||||||||||||||||