arianhojat Posted April 20, 2007 Share Posted April 20, 2007 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? Link to comment https://forums.phpfreaks.com/topic/47950-outputting-a-soap-request-xml-pretty-printed-to-browser/ Share on other sites More sharing options...
arianhojat Posted April 22, 2007 Author Share Posted April 22, 2007 bump. anyone? Link to comment https://forums.phpfreaks.com/topic/47950-outputting-a-soap-request-xml-pretty-printed-to-browser/#findComment-235412 Share on other sites More sharing options...
Glyde Posted April 22, 2007 Share Posted April 22, 2007 PHP 5? http://us2.php.net/manual/en/ref.simplexml.php Otherwise http://us2.php.net/manual/en/ref.xml.php Link to comment https://forums.phpfreaks.com/topic/47950-outputting-a-soap-request-xml-pretty-printed-to-browser/#findComment-235413 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.