I have obtained such a response after executing one curl request.
<?xml version="1.0" encoding="utf-8"?>
<mp_response>
<response_element>
<merchantid>
36573dkjdkjds3987398
</merchantid>
<orderid>
1
</orderid>
<responsecode>
23
</responsecode>
<description>
Transaction Payout Completed
</description>
</response_element>
</mp_response>
But when I use functions like
new SimpleXMLElement($xml_str);
simplexml_load_string($data)
etc. I get an error like
Start tag expected, '<' not found
What should I do?