Edit report at http://bugs.php.net/bug.php?id=53943&edit=1

 ID:                 53943
 Updated by:         ahar...@php.net
 Reported by:        giorgio dot liscio at email dot it
 Summary:            implement [document|element].querySelector[All]
-Status:             Open
+Status:             Wont fix
 Type:               Feature/Change Request
 Package:            DOM XML related
 Operating System:   any
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

Unless and until libxml2 supports the selectors API directly, I don't

think there's much point trying to handle this in PHP. At any rate, it

should be possible to create a userland library that parses CSS

selectors and turns them into XPath calls: in fact, I believe this is

what phpQuery does already.



This could be reopened if libxml2 implements support for the API, but

for now, I think this is best closed Won't Fix in favour of this being

better suited to a userland solution.


Previous Comments:
------------------------------------------------------------------------
[2011-02-07 02:51:57] dtajchre...@php.net

XPath and SimpleXML aren't fast or easy enough?



php.net/domxpath

php.net/simplexml

------------------------------------------------------------------------
[2011-02-06 22:58:31] giorgio dot liscio at email dot it

Description:
------------
hi, it is needed to have the possibility to select elements with a
-faster- and easier way



http://dev.w3.org/2006/webapi/selectors-api/



thank you



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53943&edit=1

Reply via email to