----- Original Message -----
From: "Rob" <rrichards@xxxxxxxxxxxxxxxx>
To: "Gustav Wiberg" <gustav@xxxxxxxxxxxxxx>
Cc: "Andreas Korthaus" <akorthaus@xxxxxx>; <php-general@xxxxxxxxxxxxx>
Sent: Friday, March 03, 2006 8:04 PM
Subject: Re: Re: DOMElement::setAttribute() manual example question
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
Maybe it is so that the objects propertys is created in a certain order
undependet of the script order?
/G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php