--- Christian Stocker <[EMAIL PROTECTED]> wrote:
> On Sun, 5 May 2002, brad lafountain wrote:
> 
> > Hello,
> >
> >  I was wondering who was maintaing the dom xml extension.
> >
> >  I was just testing out some stuff.
> >
> > -------------------------------------
> > $xml = new DomElement('asdf');
> > just doesn't work..
> >
> > $xml = new DomElement('asdf');
> > $real_element = $xml->domelement('asdf');
> > works...
> >
> > I looked into this.. Two reasons this is happening..
> >
> > 1)
> > The register_class_entry has "DomElement" not "domelement" (all the classes
> are
> >
> > like that).
> > So that is why the constructor isn't being called.
> >
> > 2)
> > The constructor returns a zval instead of making the addintions to the
> current
> > object.
> 
> 
> you should use $xml->create_element("bla"), which does the second thing
> for you.

Yeah but i don't have a $xml....

alls i want to do is
$node =  new DomElement('blah');

Its a simple change.. i already implement it..

Currently your constructors aren't even being called... ever!

 - Brad

> 
> chregu
> 
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to