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

Hi,

On Oct 30, 2003, at 6:41 AM, Stanimir Stamenkov wrote:

>
> I've posted this in c.i.w.a.s. group but I've decided to post it here, 
> too, to find out what the people from the WG think about it.
>
> Looking through the draft I still can't figure out how one could (is 
> it possible to) group several elements and style a generated 
> containing block for the group.

Keep your content in XML in the structure you desire and use XSL to 
transform it to your desired output.

<article>
   <title/>
   <section>
     <title/>
   </section>
</article>

to

<div class="article">
   <h1/>
   <div class="section">
     <h2/>
   </div>
</div>

-Rob

Received on Thursday, 30 October 2003 11:07:55 UTC