OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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: ettinger@gmail.com [mailto:ettinger@gmail.com] On 
> Behalf Of Anthony Ettinger
> Sent: Wednesday, October 17, 2007 2:04 PM
> To: docbook@lists.oasis-open.org
> 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: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org
> 
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]