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: Mon, 9 Jul 2007 13:37:05 +0300
Message-ID: <7410586045.20070709133705@narod.ru>
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.0)  http://html60.chat.ru
SQL4      (4.1.0)  http://sql40.chat.ru
Computer2 (2.0.3)  http://computer20.chat.ru
Received on Thursday, 12 July 2007 05:56:08 GMT

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