W3C home > Mailing lists > Public > public-multilingualweb-lt-comments@w3.org > January 2013

Re: I18N-ISSUE-239: Selecting attributes using Selectors [ITS-20]

From: Norbert Lindenberg <w3@norbertlindenberg.com>
Date: Wed, 23 Jan 2013 00:36:41 -0800
Cc: Norbert Lindenberg <w3@norbertlindenberg.com>, <public-multilingualweb-lt-comments@w3.org>, <www-international@w3.org>
Message-Id: <1F91CE3A-FDFB-4815-A76A-2E0DE317176B@norbertlindenberg.com>
To: Yves Savourel <ysavourel@enlaso.com>
That depends on whom you see as your target audience. Web developers are probably more familiar with Selectors than with XPath.


On Jan 19, 2013, at 5:29 , Yves Savourel wrote:

>> http://www.w3.org/TR/2012/WD-its20-20121206/#d0e2257
>> It's sometimes necessary to select attributes, for example to declare 
>> them translatable or untranslatable (it's bad practice to have translatable 
>> attributes, but HTML has a few of them anyway).
>> Selectors don't provide a way to do that - the attribute selectors described 
>> in the Selectors spec enable selection of elements by the values of 
>> their attributes, but not selection of the attributes themselves. 
>> When using Selectors in ITS, how would one select attributes?
> This seems to be one more reason to drop the CSS Selectors option from ITS.
> cheers,
> -yves
Received on Wednesday, 23 January 2013 08:37:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:26 UTC