----- Message d'origine ----- De: "Ian Hickson" <ian@hixie.ch> > Rowland Shaw wrote: > > > > I also happen to agree with Ian Hickson; XML is not really suited to CSS as > > it is today, due to it's non treelike structure. > > > > For the record, I'd refine his example to: > > <rule> > > <selector> <!-- I guess there's nothing to stop you using Xpath queries > > instead --> > > *:test > test:* > > </selector> > > <declaration> > > <property>color</property> > > <value> > > <rgba red="25%" green="100%" blue="0%" alpha="0.5" /> > > </value> > > </declaration> > > </rule> > > But I still prefer (if only for it's conciseness): > > *|test > test|* { color: rgba( 25%, 100%, 0%, 0.5); } > > That still leaves the selector in its original CSS form, What is wrong -- as it has been mentioned several times -- with XPath[-like] selectors ? >and the four rgba values still unparsed. It also dropped all the comments, which is a big loss. A smiley was obviously missing here. Comments are available in XML... P. AndriesReceived on Friday, 12 July 2002 08:58:23 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:15 GMT