Re: domxml extension

From: Date: Sun, 05 May 2002 17:15:13 +0000
Subject: Re: domxml extension
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-83725@lists.php.net to get a copy of this message
Hi > Yeah but i don't have a $xml.... > > alls i want to do is > $node = new DomElement('blah'); I'm not sure, why you want this, but it doesn't make much sense to me and is not in the sense of the DOM-Standard: "Objects implementing some interface "X" are created by a "createX()" method on the Document interface; this is because all DOM objects live in the context of a specific Document." therefore you need a document to create an element and this constructor is somehow stupid (IMHO) and for this reason also not documentated. I don't know, why it's there at all... > Currently your constructors aren't even being called... ever! they are not "my" constructors and i didn't wrote them :) chregu

« previous php.dev (#83725) next »