Jump to content

outputting a SOAP request (xml), pretty printed to browser


arianhojat

Recommended Posts

i am outputting a SOAP request via...

echo "<br/>Dumping response:<br/>";
echo "<pre>". htmlspecialchars( $client->__getLastResponse() ) ."</pre>";   

 

but the output of getLastResponse is one big xml string.

 

i want to print it out all nice without writing alot of xml parsing code, any built-in php function?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.