note 98559 deleted from class.domelement by joey

From: Date: Fri, 18 Feb 2011 09:47:08 +0000
Subject: note 98559 deleted from class.domelement by joey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177099@lists.php.net to get a copy of this message
Note Submitter: martin at larsen dot dk ---- This is a very simple way to get the innerHTML of a node: <?php function getNodeInnerHTML($elem) { return simplexml_import_dom($elem)->asXML(); } ?> I had trouble making other suggestions works, but this works perfectly for me.

« previous php.notes (#177099) next »