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

Re: [css syntax] CSS Syntax and Semantic Classes

From: Adam <adamsobieski@hotmail.com>
Date: Fri, 7 Feb 2014 15:50:06 +0000
Message-ID: <SNT405-EAS4289586708510FAF4C0ACEC5970@phx.gbl>
To: Reece Dunn <msclrhd@googlemail.com>
CC: "jackalmage@gmail.com" <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>
CSS Working Group,

<ext:element xmlns:ext="http://www.extensibility.org" ext:attr="ext:value1 ext:value2 ext:value3"/>

If the syntax is attribute-based, and, as you indicated, beyond string matching, a syntactic possibility is:

@namespace ext2 "http://www.extensibility.org";
ext2|element[ext2|attr ~= ext2|value1]


@namespace ext2 "http://www.extensibility.org";
ext2|element[ext2|attr ~= uri(ext2|value1)]

though we might want set-algebraic expressiveness or and/or/not expressions:

function(element, attribute, set_algebra_expression)

function(selector, attribute, set_algebra_expression)

function(element, attribute, and_or_not_expression)

function(selector, attribute, and_or_not_expression)

Kind regards,

Adam Sobieski
Received on Friday, 7 February 2014 16:40:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC