Re: [css syntax] CSS Syntax and Semantic Classes

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]


or



@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