当我使用linq检索xml时,<CDATA[
>]>被删除,这是我想要实现的。
But when I save the file, <CDATA[[
]]>
becomes <CDATA[[
]]>
in the xml file.
Whether or not I explicitly append with <CDATA[[
]]>
before saving gives me the same result.
Tried appending with <CDATA[[
]]>
but still gives me the same result.
Is there any other way to make it show <CDATA[[
]]>
in the xml file?
缩略语 UTF8.GetBytes() 储蓄后写到档案中。 XDocument
using XDocument.Save(System.IO.StringWriter)
.