document.getElementsBySelector()
By glazou on Monday 27 March 2006, 16:49 - Standards - Permalink
The best cross-platform implementation of document.getElementsBySelector(), cross-platform, and implementing all of CSS 3 selectors but dynamic pseudo-classes and pseudo-elements + a few enhancements coming from STTS.
It's made by Olivier Gambier, it's cool, it's a new implementation report for the Selectors spec on its way, it's here.
Congrats Olivier !

Comments
This looks really good but the download link is broken.
Hi Dean,
I'm uploading tonight.
A few more minutes of patience :p
Note: the download link in the project page is currently broken. I have sent a mail to the author.
Oops, some are faster than me
Me too made a getElementsBySelector some time ago:
wargers.org/scripts/getel...
wargers.org/scripts/getel...
Ok, tarball is here :p.
Feel free to test it (should be considered beta, still...)
Daniel, thanks for the word
@fixed an attribute name case problem in html mode.
Consider IE support to have (quite) a few quirks still to smash.
quelle différence avec document.evaluate et un chemin Xpath ?
(j'ai vue qu'il y avait une implémentation de la methode pour ie quelque part sur le web)
Du point de vue de l'utilisateur de getEBS:
la même (différence) qu'entre css et xpath...
Du point de vue de ce qu'on peut en faire:
XPath ne parsera jamais une feuille de style...
Du point de vue de la "back-end de sélection": Joe Hewitt a tenté un getEBS avec une back-end XPath. A ma connaissance ce n'est pas cross-platform sans quelque chose en plus pour IE.
Je trouve donc préférable (pour l'instant) d'utiliser les méthodes "traditionnelles" comme back-end.