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

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 UTC