xml中特殊字符的处理
发布时间:2020-12-16 00:39:40 所属栏目:百科 来源:网络整理
导读:给XML 字符串添加DTD验证:在节点值部份添加“![CDATA[ ]]” ?xml version="1.0" encoding="utf-8"?soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap
给XML 字符串添加DTD验证:在节点值部份添加“<![CDATA[ ]]>” <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetBillScanPOD_Send xmlns="http://tempuri.org/"> <strKey><![CDATA[##~!@#$%^&*()20100310]]></strKey> <SendCust_ID>string</SendCust_ID> <strBillNo>469854fdsf7845f4</strBillNo> <StartDateTime>string</StartDateTime> <EndDateTime>string</EndDateTime> </GetBillScanPOD_Send> </soap:Body> </soap:Envelope> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |