以後的事就是我的輸入特殊漢字即可使用XML標籤命名實體轉換VB.NET
<tag>If milk prices increased from €355 to €420/t</tag>
我需要像下面
<tag>If milk prices increased from €355 to €420/t</tag>
轉換我嘗試下面的代碼:
dim tmpstr as String = System.Net.WebUtility.HtmlEncode(outStr)
但它轉換xml標籤<,我也需要執行內部xml只。如何轉換那件事?
你期望'如果牛奶價格從增加什麼€ 355至€ 420/t '可以使用或不使用DTD來聲明實體'euro'? –