Thursday, August 20, 2009

Dumping a DOMElement in PHP

Reference this post:

$xml = $domElement->ownerDocument->saveXML($domElement);
var_dump($xml);

No comments:

Post a Comment