4
using (System.IO.StreamReader sr = new System.IO.StreamReader(path, System.Text.Encoding.GetEncoding("Windows-1252"), true))
{
xdoc = XDocument.Load(sr);
}
這裏是我的XML如何讓XDocument.Load保留換行符
<sheet name="sheet1" bounds="160,128,464,288">
<text name="text1" bounds="160,128,464,288" text="a
b"/>
</sheet>
XDocument.Load轉換
a
b
到
a b
如何維護我行休息?