Below mentioned is my 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>
I wish to extract the "errorcode" from this XML. How I am suppose to do that ? Please help.