此处需要注意一点:CDATA是在元素级别定义的
<?xnl version="1.0"?>
<!DOCTYPE company[
<!ENTITY id "0330">
<!ENTITY address "前门">
]>
<company>
&id;
<address>&address;</address>
<![CDATA[
HELLO world!
]]>
</company>
此处需要注意一点:CDATA是在元素级别定义的
<?xnl version="1.0"?>
<!DOCTYPE company[
<!ENTITY id "0330">
<!ENTITY address "前门">
]>
<company>
&id;
<address>&address;</address>
<![CDATA[
HELLO world!
]]>
</company>
/// <summary> /// 將數據序列化爲Xml /// </summary> /// <param name="oType">被序列化的數據類型(實體類類型或者集合類型