note 99737 modified in function.domnode-get-content by danbrown

From: Date: Thu, 02 Sep 2010 15:29:44 +0000
Subject: note 99737 modified in function.domnode-get-content by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-172278@lists.php.net to get a copy of this message
To print the node simply create a new document import the node and save it to html or whatever you need e.g.: <?php $temp = new DOMDocument('1.0', 'UTF-8'); $temp_node = $temp->importNode($mynode, TRUE); $temp->appendChild($temp_node); $temp->saveHTML(); ?> --was-- To print the node simply create a new document import the node and save it to html or whatever you need e.g.: $temp = new DOMDocument('1.0', 'UTF-8'); $temp_node = $temp->importNode($mynode, TRUE); $temp->appendChild($temp_node); $temp->saveHTML(); http://php.net/manual/en/function.domnode-get-content.php

« previous php.notes (#172278) next »