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

Re: CSS in XML format ?

From: Patrick Andries <pandries@iti.qc.ca>
Date: Fri, 12 Jul 2002 05:57:19 -0700
Message-ID: <064c01c229a3$cd9187b0$2677c818@Patrick2650>
To: "Ian Hickson" <ian@hixie.ch>, "Rowland Shaw" <Rowland.Shaw@crystaldecisions.com>
Cc: <www-style@w3.org>


----- 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 &gt; 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. Andries
Received 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