Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

simplexml format xml

$dom = dom_import_simplexml($simpleXml)->ownerDocument;
$dom->formatOutput = true;
echo $dom->saveXML();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #simplexml #format #xml
ADD COMMENT
Topic
Name
9+7 =