Gustav Wiberg wrote:

Check out:
http://de3.php.net/manual/en/function.dom-domdocument-createelement.php
( This function creates a new instance of class DOMElement. This node will not show up in the document unless it is inserted with e.g. DOMNode->appendChild().)

I really don't understand WHY your next example is working...

Every example so far has called appendChild(). The only difference has been when at which point it is called to append the element and how the element to append has been created.

Rob

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to