W3C home > Mailing lists > Public > www-style@w3.org > July 2007

XCCS = XPath + CSS (was: Re[2]: attributes as virtual tags)

From: Dmitry Turin <html6css4@gmail.com>
Date: Fri, 13 Jul 2007 08:20:52 +0300
Message-ID: <207639675.20070713082052@gmail.com>
To: www-style@w3.org

Good day, Pascal.

PG> XPath will be used as selection language for CSS[*]

But i'm sure, that possibility to use XPath in CSS will create mess in brains,
because CSS and XPath differs strongly.
Look:

a b {}                        a//b {}
a>b {}                        a/b  {}
a.classname  {}               a[@class=classname] {}
a#identifier {}               a[@id=identifier]   {}
a[attr]      {}               a[@attr]     {}
a[attr=val]  {}               a[@attr=val] {}

I seggest alternavite CSS, i.e. XCSS,
in which old notation will be forbiden.
Thus html-file can contain string
  <head>
    <link href="styles.xcss" type="text/xcss" rel="stylesheet">
  </head>

P.S.
At the same time, i sure, it's necessary to develop old CSS further.
It means, it's necessary to add
  ža1,ža2,ža3 { display: table-cell }
into it.
Thus XCCS and CSS should develop in parallel way:
what property is added into one of them,
the same property is added into another of them.



Dmitry Turin
HTML6     (6.1.2)  http://html60.chat.ru
SQL4      (4.1.2)  http://sql40.chat.ru
Unicode2  (2.0.0)  http://unicode2.chat.ru
Computer2 (2.0.3)  http://computer20.chat.ru
Received on Friday, 13 July 2007 12:54:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:51 GMT