ң

DomDocument->add_root [ ]

(unknown)

DomDocument->add_root [ ] - root-.

resource DomDocument->add_root (string name)

!

- . , ӣ , . .

dom- . .

1. /header HTML-
<?php $doc = domxml_new_doc("1.0"); $root = $doc->add_root("HTML"); $head = $root->new_child("HEAD", ""); $head->new_child("TITLE", "Hier der Titel"); echo htmlentities($doc->dump_mem()); ?>

ң
DomAttribute->value DomDocument->create_attribute