I noticed that you did a rewrite of the domxml code lately.  Would that be
why the following code I have doesn't work anymore?

    $tree = xmltree($string);
    if ($tree->root->name != 'foo') {
        ...
    }

It appears that the DomDocument object doesn't have the ->root property
anymore.  Am I right?

Do I need to use $tree->children->0->name now, or will you add $tree->root
back in?

--
Colin Viebrock
Co-Founder, easyDNS Technologies Inc.
http://www.easyDNS.com/




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to