note 13054 added to function.xpath_eval.php

From: Date: Thu, 24 May 2001 12:46:22 +0000
Subject: note 13054 added to function.xpath_eval.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14245@lists.php.net to get a copy of this message
xpath_eval() returns only a copy of your document. So you cant for example change the $foo->nodeset[id]->content's of the resulting matches. If you want to, you have to do it yourself by going recursive through your doc, which makes xpath_eval at least useless except for checking if you have to ;). http://www.php.net/manual/en/function.xpath_eval.php

« previous php.notes (#14245) next »