System.Xml.XmlException 消息:“。”,十六进制值0x00,是无效字符。第2行,位置1。
基于错误,我假设我想删除任何句点,但XML似乎没有任何句点。
<?xml version="1.0" encoding="UTF-8"?>
<root>
<purchase_order>
<po_num>P003013607</po_num>
<CreatedBy>tstover</CreatedBy>
<vend_num>V0R2907</vend_num>
<order_date>2019-05-10</order_date>
<po_line>1</po_line>
<po_release>0</po_release>
<item>100147</item>
<description>NULL</description>
<u_m>EA</u_m>
<qty_ordered>2</qty_ordered>
<whse>NA</whse>
<ship_code>NULL</ship_code>
<terms_code>001</terms_code>
<stat>P</stat>
<po_cost>0</po_cost>
<type>R</type>
<plan_cost>0</plan_cost>
<due_date>2019-05-27</due_date>
<qty_received>0</qty_received>
<qty_returned>0</qty_returned>
<tax_code1>NULL</tax_code1>
<req_num>100028</req_num>
</purchase_order>
</root>