|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-15 11:25 UTC] steinm@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 18 08:00:01 2025 UTC |
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)