mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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
This commit is contained in:
parent
04a678fef1
commit
888aa30a18
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry xml:id="domdocument.importnode" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>DOMDocument::importNode</refname>
|
||||
|
@ -36,6 +36,11 @@
|
|||
If set to &true;, this method will recursively import the subtree under
|
||||
the <parameter>importedNode</parameter>.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
To copy the nodes attributes <parameter>deep</parameter> needs to be set to &true;
|
||||
</para>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
|
Loading…
Reference in a new issue