Voting

: zero minus zero?
(Example: nine)

The Note You're Voting On

Fitopaldi
19 years ago
importNode returns a copy of the node to import and associates it with the current document, but not import the node to the current DOMDocument. Use appendChild for import the copy of the node to current DOMDocument.

<?
$domNode = $dom->importNode($aDomNode, true);
$currentDomDocument->appendChild($domNode);
?>

<< Back to user notes page

To Top