W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [selectors-nonelement] First draft of a new spec for selecting non-element nodes

From: Jirka Kosek <jirka@kosek.cz>
Date: Mon, 17 Feb 2014 10:04:11 +0100
Message-ID: <5301D08B.50601@kosek.cz>
To: Andrew Fedoniouk <news@terrainformatica.com>
CC: Brad Kemper <brad.kemper@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style list <www-style@w3.org>
On 16.2.2014 20:32, Andrew Fedoniouk wrote:
> ? If "yes" then what conceptually stops you from either this
> 
>  <translateRule selector="abbr" attr="title" translate="no"/>

See:

http://lists.w3.org/Archives/Public/www-style/2013Nov/0121.html

> or this custom form:
> 
> <translateRule selector="abbr{title}" translate="no"/>
> 
> '{' will never be part of selectors so you can safely use it
> as a delimiter in domain specific query language that
> includes CSS selectors as a subset of its grammar.

What's point of inventing new syntax which will not be understand by
common libraries for parsing and evaluating selectors, will not be known
to authors?

-- 
------------------------------------------------------------------
  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 Monday, 17 February 2014 09:04:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 17 February 2014 09:04:41 UTC