justinpatrin at php dot net:
> To get a proper DOM document (which you need to do most things) you need...
No you don't. Just do:
<?php
$dom = dom_import_simplexml($xml)->ownerDocument;
?>
justinpatrin at php dot net:
> To get a proper DOM document (which you need to do most things) you need...
No you don't. Just do:
<?php
$dom = dom_import_simplexml($xml)->ownerDocument;
?>