From f0ff82f778becd222ca582d0a1d89a01c4f60b48 Mon Sep 17 00:00:00 2001
From: Mehdi Achour <didou@php.net>
Date: Fri, 31 Dec 2004 10:42:35 +0000
Subject: [PATCH] fix #31354: wrong refpurpose for DOMNode->insertBefore()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@176116 c90b9560-bf6c-de11-be94-00142212c4b1
---
 reference/dom/functions/dom-domnode-insertbefore.xml | 4 ++--
 reference/dom/reference.xml                          | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/reference/dom/functions/dom-domnode-insertbefore.xml b/reference/dom/functions/dom-domnode-insertbefore.xml
index 9f9a0d0d59..ddf01992f8 100644
--- a/reference/dom/functions/dom-domnode-insertbefore.xml
+++ b/reference/dom/functions/dom-domnode-insertbefore.xml
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <refentry id='function.dom-domnode-insertbefore'>
  <refnamediv>
   <refname>DOMNode->insertBefore()</refname>
   <refpurpose>
-   Adds new child at the end of the children
+   Adds a new child before a reference node
   </refpurpose>
  </refnamediv>
  <refsect1 role="description">
diff --git a/reference/dom/reference.xml b/reference/dom/reference.xml
index 9d4603757b..a9302d3b7a 100644
--- a/reference/dom/reference.xml
+++ b/reference/dom/reference.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
  <reference id="ref.dom">
   <title>DOM Functions</title>
   <titleabbrev>DOM</titleabbrev>
@@ -800,7 +800,8 @@
         <para><xref linkend='function.dom-domnode-haschildnodes' /> - Checks if node has children</para>
        </listitem>
        <listitem>
-        <para><xref linkend='function.dom-domnode-insertbefore' /> - Adds new child at the end of the children</para>
+        <para><xref linkend='function.dom-domnode-insertbefore' /> - Adds a
+        new child before a reference node</para>
        </listitem>
        <listitem>
         <para><xref linkend='function.dom-domnode-issamenode' /> - Indicates if two nodes are the same node</para>