RE: [docbook] assign a class to a list

From
David Cramer <>
Date
2007-10-17T19:14:55+00:00
ID
Thread
RE: [docbook] assign a class to a list
You could put the orderedlist in a para and use para.propagates.style
<http://docbook.sourceforge.net/release/xsl/current/doc/html/para.propag
ates.style.html>. Then you could write your css to look for <p
class="priorities"><ol>.

David 

> -----Original Message-----
> From:  [mailto:] On 
> Behalf Of Anthony Ettinger
> Sent: Wednesday, October 17, 2007 2:04 PM
> To: 
> Subject: [docbook] assign a class to a list
> 
> I have an orderedlist that I want to assign a class 
> to...because I want to reverse the numbering with CSS (unless 
> there is a way to reverse numbering with markup).
> 
> <orderedlist>
>   <listitem><para>Five</para></listitem>
>   <listitem><para>Four</para></listitem>
>   <listitem><para>Three</para></listitem>
>   ...
> </orderedlist>
> 
> 
> <ol class="priorities">
>   <li><p>Five</p></li>
>   <li><p>Four</p></li>
>   <li><p>Three</p></li>
>   ...
> </ol>
> 
> so the output would be viewed as:
> 
>   5. Five
>   4. Four
>   3. Three
>   2. Two
>   1. One
> 
> 
> --
> Anthony Ettinger
> Ph: 408-656-2473
> var (bonita, farley) = new Dog;
> farley.barks("very loud");
> bonita.barks("at strangers");
> 
> http://chovy.dyndns.org/resume/
> http://utuxia.com/consulting
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
> 
>