- From: Jirka Kosek <jirka@kosek.cz>
- Date: Wed, 23 Jan 2013 17:27:54 +0100
- To: public-multilingualweb-lt@w3.org
- Message-ID: <51000F8A.8090404@kosek.cz>
Hi, quick search revealed several existing libraries which can translate CSS selectors to XPath: http://css2xpath.appspot.com/ https://bitbucket.org/MostThingsWeb/css2xpath/wiki/Home http://nokogiri.org/Nokogiri/CSS.html http://symfony.com/doc/2.0/components/css_selector.html So, even without native CSS implementations we can keep CSS selectors in the spec and say that it's convenient for authors and on implementation side this can be done using existing XPath based implementations which will simply convert CSS selectors to XPath expressions. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------
Received on Wednesday, 23 January 2013 16:28:31 UTC