diff options
author | Uwe Steinmann <steinm@php.net> | 2000-02-09 20:06:23 +0000 |
---|---|---|
committer | Uwe Steinmann <steinm@php.net> | 2000-02-09 20:06:23 +0000 |
commit | e548a31510025eaa0e51312d0a6f720cd4c295cd (patch) | |
tree | 6d59c22875aef6b175458dca87e03f49981c6022 /tests | |
parent | ab465c585798b64c3dd5b497159c1dbbeb6c49ae (diff) | |
download | php-git-e548a31510025eaa0e51312d0a6f720cd4c295cd.tar.gz |
- removed stupid leftover in testdom
- added more functions to domxml
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testdom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testdom b/tests/testdom index 58a41a9952..c668813031 100644 --- a/tests/testdom +++ b/tests/testdom @@ -63,12 +63,12 @@ output_node($rootnode); $doc = newxmldoc("1.0"); $root = $doc->addroot("HTML"); -$root->newchild("TITLE", "Hier der Titel"); +$head = $root->newchild("HEAD", ""); +$head->newchild("TITLE", "Hier der Titel"); $body = $root->newchild("BODY", ""); $table = $body->newchild("TABLE", ""); $table->setattr("WIDTH", "100%"); $table->newchild("TR", " "); echo $doc->dumpmem(); -echo {$root->children()}[0]; ?> |