Bug #14584 Updated: $XPathObject->nodeset[0]->content is missing
| From: | mfischer@php.net | Date: | Tue, 18 Dec 2001 22:39:33 +0000 |
| Subject: | Bug #14584 Updated: $XPathObject->nodeset[0]->content is missing | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74317@lists.php.net to get a copy of this message | ||
ID: 14584
Updated by: mfischer
Reported By: liangyi11361@yahoo.com
Old Status: Open
Status: Bogus
Bug Type: DOM XML related
Operating System: win nt 4.0
PHP Version: 4.1.0
New Comment:
The syntax has changes. Try xmltree() on your document and view it with print_r() to see the
relationship.
No bug -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2001-12-18 16:04:35] liangyi11361@yahoo.com
Look like the same as Bug id#14500
------------------------------------------------------------------------
[2001-12-18 12:10:53] liangyi11361@yahoo.com
This works in 4.0.6
But not in 4.1.0
$ctx= $doc->xpath_new_context();
$XPathObject= xpath_eval($ctx, "//*");
$XPathObject->nodeset[0]->content; ---> content is missing
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14584&edit=1