W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: [CSS3] Generated and Replaced Content - Grouping (long, examples)

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Thu, 30 Oct 2003 19:35:29 +0200
Message-ID: <3FA14BE1.3000903@myrealbox.com>
To: www-style@w3.org

Robert Koberg wrote:

> You would be surprised how much it simplifies things. Separation of 
> Concerns is a good thing.

O.k. We are talking about improving the CSS language. 
Workarounds/practices defined for/of shortcomings are not eternal 
solution, IMHO.

> In the example I provided (to address this concern) which you seem to 
> have ignored, I used the element name as the class name. Therefore you 
> handle the final styling with CSS.

BTW, your example is not very good for my case. In the abstract XML 
a need to have:

<HDR1/>
<PARA/>
<HDR2/>
<PARA/>
<HDR3/>
<PARA/>
<HDR2/>
<PARA/>
<PARA/>

and in the HTML output:

<BODY>
   <H1/>
   <P/>
   <DIV class="generated-section">
     <H2/>
     <P/>
     <DIV class="generated-section">
       <H3/>
       <P/>
     </DIV>
   </DIV>
   <DIV class="generated-section">
     <H2/>
     <P/>
     <P/>
   </DIV>
</BODY>

So I want to display my source XML document using CSS without 
transforming it into another and applying different CSS.

-- 
Stanimir
Received on Thursday, 30 October 2003 12:35:33 GMT

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