theseer/fDOMDocument — pull request #12 by Kusi (2012-06-01 21:00:58+00:00)
Title: Methods appendElement and appendElementNS created for DOMDocument

Hey Arne

I have added two methods to fDOMDocument(): Now it is possible to do:

$dom = new fDOMDocument;
$root = $dom->appendElement('root', 'My Root Node');

Greetings, Markus

PS: If you don't want to merge my previous Pull-Request you should edit these Methods, because they create a TextNode even thought you pass no Default Text