note 63640 modified in function.dom-domdocument-savexml by bjori
| From: | bjori@php.net | Date: | Mon, 27 Mar 2006 00:30:24 +0000 |
| Subject: | note 63640 modified in function.dom-domdocument-savexml by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106694@lists.php.net to get a copy of this message | ||
I used the function posted by "joe" but the following works to me for get the innerXML
<?php
$itemLeido = $XMLRespuesta->getElementsByTagName("articulos");
foreach($itemLeido as $node) {
echo($node->ownerDocument->saveXML($node));
}
?>
--was--
I used the function posted by "joe" but the following works to me for get the innerXML
$itemLeido = $XMLRespuesta->getElementsByTagName("articulos");
foreach($itemLeido as $node) {
echo($node->ownerDocument->saveXML($node));
http://php.net/manual/en/function.dom-domdocument-savexml.php