/ Published in: PHP

the LIBXML parameter is what this snippet is about. Also this is one way to retrieve XML without having a XML-declaration prepended
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$dom->saveXML($this->documentElement, LIBXML_NOEMPTYTAG);
Comments
