From 8edf9c5acbc4d2f4468a23435a5693c99dfe7eac Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 16 Apr 2002 05:14:49 +0000 Subject: [PATCH] - added DomNode->append_sibling to function list - some remarks about the new behaviour of DomNode->append_child git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78341 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/domxml/functions.xml | 1 + reference/domxml/reference.xml | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/reference/domxml/functions.xml b/reference/domxml/functions.xml index 326fbde763..ff837178ea 100644 --- a/reference/domxml/functions.xml +++ b/reference/domxml/functions.xml @@ -31,6 +31,7 @@ &reference.domxml.functions.DomElement-set-attribute-node; &reference.domxml.functions.DomElement-tagname; &reference.domxml.functions.DomNode-append-child; +&reference.domxml.functions.DomNode-append-sibling; &reference.domxml.functions.DomNode-attributes; &reference.domxml.functions.DomNode-child-nodes; &reference.domxml.functions.DomNode-clone-node; diff --git a/reference/domxml/reference.xml b/reference/domxml/reference.xml index 790e93060d..f3b3d9169d 100644 --- a/reference/domxml/reference.xml +++ b/reference/domxml/reference.xml @@ -1,5 +1,5 @@ - + DOM XML functions DOM XML @@ -41,6 +41,14 @@
Deprecated functions + + There a quite some functions which do not fit into the DOM standard and + should not be used anymore as listed in the following table. + The function DomNode_append_child has changed its + behaviour. It now actually adds a child and not a sibling. If this + breaks your application use the non DOM function + DomNode_append_sibling. + Deprecated functions and its replacements @@ -543,6 +551,11 @@ DomNode_append_child + + DomNode_append_sibling + Not in DOM standard. This function emulates the former + behaviour of DomNode_append_child. + DomNode_remove_child