steinm Tue Apr 16 01:14:50 2002 EDT
Modified files:
/phpdoc/en/reference/domxml functions.xml reference.xml
Log:
- added DomNode->append_sibling to function list
- some remarks about the new behaviour of DomNode->append_child
Index: phpdoc/en/reference/domxml/functions.xml
diff -u phpdoc/en/reference/domxml/functions.xml:1.1
phpdoc/en/reference/domxml/functions.xml:1.2
--- phpdoc/en/reference/domxml/functions.xml:1.1 Sun Apr 14 19:59:35 2002
+++ phpdoc/en/reference/domxml/functions.xml Tue Apr 16 01:14:49 2002
@@ -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;
Index: phpdoc/en/reference/domxml/reference.xml
diff -u phpdoc/en/reference/domxml/reference.xml:1.2
phpdoc/en/reference/domxml/reference.xml:1.3
--- phpdoc/en/reference/domxml/reference.xml:1.2 Mon Apr 15 14:56:33 2002
+++ phpdoc/en/reference/domxml/reference.xml Tue Apr 16 01:14:49 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<reference id="ref.domxml">
<title>DOM XML functions</title>
<titleabbrev>DOM XML</titleabbrev>
@@ -42,6 +42,14 @@
<section id="domxml-deprecated">
<title>Deprecated functions</title>
<para>
+ 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 <function>DomNode_append_child</function> has changed its
+ behaviour. It now actually adds a child and not a sibling. If this
+ breaks your application use the non DOM function
+ <function>DomNode_append_sibling</function>.
+ </para>
+ <para>
<table>
<title>Deprecated functions and its replacements</title>
<tgroup cols="2">
@@ -542,6 +550,11 @@
<row>
<entry><function>DomNode_append_child</function></entry>
<entry></entry>
+ </row>
+ <row>
+ <entry><function>DomNode_append_sibling</function></entry>
+ <entry>Not in DOM standard. This function emulates the former
+ behaviour of <function>DomNode_append_child</function>.</entry>
</row>
<row>
<entry><function>DomNode_remove_child</function></entry>