私はこの種の SoapException を持っています
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Fault occurred while processing.</faultstring>
<detail>
<ns1:WaybillRegistrationFault xmlns:ns1="http://pod.waybillmanagement.ws.industrysystem.com.ar/">
<errors xmlns:ns2="http://pod.waybillmanagement.ws.industrysystem.com.ar/">
<code>80000</code>
<description>El número de CTG 59455243 ya existe</description>
</errors>
<errors xmlns:ns2="http://pod.waybillmanagement.ws.industrysystem.com.ar/">
<code>1000</code>
<description>Unexpected Error</description>
</errors>
</ns1:WaybillRegistrationFault>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
各エラーの読み方 Detail.InnerText を試しましたが、すべてのテキストが書式設定なしで表示されます。タグで foreach を使用する方法はありますか?