in my opinion "css in xml-format" harms the SoC coz it's the webdesigner 
that builds the css and they are so used of working with visual tools like 
TopStyle to easily edit the stylesheet; there you can select the "IE & 
Netscape compliant" css properties
and as far as I know the next spec for css would include inheritance which 
will be a really great advantage; but how will you do that in xml; by 
adding an attribute "extends"?
Gunter




Bertrand Delacretaz <[EMAIL PROTECTED]> 
24-11-2004 16:41
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
Re: XMLCSS






Le 24 nov. 04, � 15:46, BURGHARD �ric a �crit :

> ...an xmlcss file is writen like that:
> <css>
>  <rule select=".myclass">
>    <padding value="0"/>
>    <margin top="10px/>
>  </rule>
> </css>....

ouch. Angle brackets strike again ;-)

> ...any thought ?

Without having looked at the details, I like the idea!

The problem might be getting people to write CSS in XML. The native CSS 
syntax is so much more comfortable to write.

Another point to consider is cacheability: you'll have to make sure the 
generated CSS can be cached by Cocoon (or by whatever front-end cache 
you're using).Maybe it would be easier for this to have different CSS 
URLs (generated by Cocoon based on browser detection) for the different 
browsers, instead of generating variable CSS content for the same CSS 
URL based on the browser type.

-Bertrand



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to