Bug #16204 Updated: append_child related

From: Date: Mon, 15 Apr 2002 15:25:17 +0000
Subject: Bug #16204 Updated: append_child related
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5031@lists.php.net to get a copy of this message
ID: 16204 Updated by: steinm@php.net Reported By: klebermass@ffb.org -Status: Open +Status: Closed Bug Type: DOM XML related Operating System: Linux PHP Version: 4.1.2 New Comment: This bug has been fixed in CVS. The current CVS version of php includes a fixed version of append_child() which actually does what its name implies. The current behaviour will be covered by append_sibling. Previous Comments: ------------------------------------------------------------------------ [2002-03-21 11:12:54] klebermass@ffb.org i use the append_child() , well it does append the xml part into the main xml-object so it should work correkt. But i dont know if its a bug or it but it adds the XML-code one level higer than i wanted it. let me explain better: u have root -| | |-sub1 | and i have a second tree beginning with sub3 -|... so i wanted to add sub3 behind sub1 so i should look like root -| | |-sub1-| | |-sub3 so i used sub1->append_child(sub3); and i didnt get this but the following: root -| | |-sub1 | |-sub3 is this correkt and if it is, how can i solf my problem? (am i using the wrong function perhaps) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16204&edit=1

« previous php.bugs (#5031) next »