Posted By

iroybot on 05/19/10


xslt DOM xml XSL DOMDocument

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


DOMDocument - prevent empty tags // retrieve node without xml declaration

 / 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 <?xml>

  1. $dom->saveXML($this->documentElement, LIBXML_NOEMPTYTAG);

Report this snippet  

You need to login to post a comment.