質問

????????????????????????????

??????????????????????????????????????????

????????????
//Writes the XML declaration with the version "1.0" and the standalone attribute.

???XML????????????
????????????? ???.xml???????????????

??????????????XmlTextWriter()????????????

役に立ちましたか?

解決

??????????????XmlWriter???XmlTextWriter?????????·????????????XmlWriter????????????????XmlWriter.Create??????

WriteStartDocument??????????????????????

<?xml version="1.0" ?>

?????????XmlWriter??????????????????????????????????????????? (????????????????????UTF-8?UTF-16??XML???????)

????????????????????? - ?XML?????????HAVE ?XML?????????????????????????????(???????????????)

他のヒント

?XML???????

<?xml version="1.0" encoding="utf-8"?>

??????????????????????????????????(???XML??????????????????????????)???????XML?????????????????

????

writer = XmlWriter.Create("file path");

?

???????????
XmlTextWriter writer = new XmlTextWriter("file path", type);

????

???????????!

?????XmlTextWriter?????????????????????????????????????????XmlTextWriter XmlTextReader??????????????????????????????

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top