Bug #16204: append_child related
| From: | klebermass at ffb dot org | Date: | Thu, 21 Mar 2002 16:12:55 +0000 |
| Subject: | Bug #16204: append_child related | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-3060@lists.php.net to get a copy of this message | ||
From: klebermass@ffb.org
Operating system: Linux
PHP version: 4.1.2
PHP Bug Type: DOM XML related
Bug description: append_child related
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 bug report at http://bugs.php.net/?id=16204&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16204&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16204&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16204&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16204&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16204&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16204&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16204&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16204&r=submittedtwice