note 13054 deleted from function.xpath-eval by sobak
| From: | sobak@php.net | Date: | Thu, 01 Dec 2016 12:48:17 +0000 |
| Subject: | note 13054 deleted from function.xpath-eval by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207838@lists.php.net to get a copy of this message | ||
Note Submitter: newsforsam at bigfoot dot de
----
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 ;).