chregu Tue Mar 4 06:53:00 2003 EDT
Modified files:
/phpdoc/en/reference/domxml/functions DomNode-append-child.xml
Log:
fix docu
Index: phpdoc/en/reference/domxml/functions/DomNode-append-child.xml
diff -u phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.4
phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.5
--- phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.4 Sat Jan 18
18:03:18 2003
+++ phpdoc/en/reference/domxml/functions/DomNode-append-child.xml Tue Mar 4
06:53:00 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.40 -->
<refentry id='function.DomNode-append-child'>
<refnamediv>
@@ -31,11 +31,16 @@
child you must use the returned node.
</para>
<para>
- (PHP >= 4.3) The new child <parameter>newnode</parameter> is first
- unlinked from its existing context, if it already existed in a document.
- Therefore the node is moved and not copies anymore. This is the behaviour
- according to the W3C specifications. If you want to duplicate large parts
- of a xml document, use DomNode->clone_node() before appending.
+ (PHP 4.3.0/4.3.1) The new child <parameter>newnode</parameter> is first
+ unlinked from its existing context, if it's already a child of DomNode.
+ Therefore the node is moved and not copies anymore.
+ </para>
+ <para>
+ (PHP >= 4.3.2) The new child <parameter>newnode</parameter> is first
+ unlinked from its existing context, if it's already in the tree. Therefore
+ the node is moved and not copied. This is the behaviour according to the
+ W3C specifications. If you want to duplicate large parts of a xml document,
+ use DomNode->clone_node() before appending.
</para>
<para>
The following example will add a new element node to a fresh document
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php