note 93730 added to simplexmlelement.xpath

From: Date: Thu, 24 Sep 2009 20:34:44 +0000
Subject: note 93730 added to simplexmlelement.xpath
Groups: php.notes 
Request: Send a blank email to php-notes+get-161032@lists.php.net to get a copy of this message
Seems like this function cannot return the result of XPath string() [1] function. For example if you query xpath("string(a/@b)") you will get bool(false) although the node "a" may have the attribute "b" set to a non-empty string. [1] http://www.w3.org/TR/xpath#section-String-Functions ---- Server IP: 79.132.192.3 Probable Submitter: 63.245.212.100 ---- Manual Page -- http://www.php.net/manual/en/simplexmlelement.xpath.php Edit -- https://master.php.net/note/edit/93730 Del: integrated -- https://master.php.net/note/delete/93730/integrated Del: useless -- https://master.php.net/note/delete/93730/useless Del: bad code -- https://master.php.net/note/delete/93730/bad+code Del: spam -- https://master.php.net/note/delete/93730/spam Del: non-english -- https://master.php.net/note/delete/93730/non-english Del: in docs -- https://master.php.net/note/delete/93730/in+docs Del: other reasons-- https://master.php.net/note/delete/93730 Reject -- https://master.php.net/note/reject/93730 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161032) next »