下面提到的是我的XML,
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelopexmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<Response xmlns="http://tempuri.org/">
<Result>
<mp_response>
<data signature="something">
<outcome errorcode="0" errordescription="" errorsolution=""/>
something
</data>
</mp_response>
</Result>
</Response>
</soap:Body>
</soap:Envelope>
我希望从此 XML 中提取“错误代码”。我应该怎么做?请帮忙。