DOMDocument::append Добавляет узлы после последнего дочернего узла &reftitle.description; public voidDOMDocument::append DOMNodestringnodes Добавляет один или несколько узлов nodes в список дочерних узлов после последнего дочернего узла. &reftitle.examples; Пример использования метода <methodname>DOMDocument::append</methodname> Добавление узлов после корня документа. loadXML(""); $doc->append("beautiful", $doc->createElement("world")); echo $doc->saveXML(); ?> ]]> &example.outputs; beautiful ]]> &reftitle.seealso; DOMParentNode::append DOMDocument::prepend