您可以在C#中更改xml版本吗? [英] Can you change the xml version in C#?
本文介绍了您可以在C#中更改xml版本吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我正在C#中使用xml序列化和反序列化,并且我不知道从项目保存文件时是否可以将xml版本更改为1.1或其他内容?
这就是现在的样子:
<?xml version ="1.0"?>
我可以将其更改为1.1吗?
谢谢,
Sas Gabriel
Hello, i am using the xml serialization and deserialization in C#, and i dont know if it is possible to change the xml version to 1.1 or something when i save my file from the project?
this is how it looks now:
<?xml version="1.0"?>
can i change it to 1.1?
Thanks,
Sas Gabriel
推荐答案
查看 ^ ]似乎唯一接受的版本是"1.0".
Looking at this[^] it would seem that "1.0" is the only accepted version.
这篇关于您可以在C#中更改xml版本吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文