ID: 16204 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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