/ Published in: PHP
![](/img/icon_sav.png?v3)
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
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)