From 888aa30a18f713e46ccd7e48cfb25f136244f71b Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Fri, 5 Dec 2008 22:11:45 +0000 Subject: [PATCH] To copy the node attributes you need to enable deep copying git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270639 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/dom/domdocument/importnode.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/reference/dom/domdocument/importnode.xml b/reference/dom/domdocument/importnode.xml index 4b722b8fd5..0b78239e60 100644 --- a/reference/dom/domdocument/importnode.xml +++ b/reference/dom/domdocument/importnode.xml @@ -1,5 +1,5 @@ - + DOMDocument::importNode @@ -36,6 +36,11 @@ If set to &true;, this method will recursively import the subtree under the importedNode. + + + To copy the nodes attributes deep needs to be set to &true; + +