DOMXML rewrite

From: Date: Wed, 04 Apr 2001 23:30:03 +0000
Subject: DOMXML rewrite
Groups: php.dev 
Request: Send a blank email to php-dev+get-50889@lists.php.net to get a copy of this message
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/

« previous php.dev (#50889) next »