我有一个传入的SOAP消息,如下所示。此传入SOAP消息在<?xml version="1.0" encoding="UTF-8"?>
元素中包含嵌入式XML声明(<ns1:disXML>
):
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:process xmlns:ns1="http://example.com">
<ns1:disXML><?xml version="1.0" encoding="UTF-8"?>
<TP memberFirstName="Tom"></TP>
</ns1:disXML>
</ns1:process>
</soapenv:Body>
</soapenv:Envelope>
如何删除嵌入式声明?