W3C home > Mailing lists > Public > www-xsl-fo@w3.org > May 2005

hierarchical lists

From: torsten krohn | tsdb | the simpsons database <torsten@tsdb.de>
Date: Sat, 7 May 2005 17:22:54 +0200
To: <www-xsl-fo@w3.org>
Message-ID: <000e01c55318$a4d76ff0$0301a8c0@HOMER>

Hi!

I'd like to generate hierarchical lists from source:

<ul>
<li>topic 1</li>
<ul>
    <li>subtopic 1</li>
    <li>subtopic 2</li>
    <ul>
        <li>subsubtopic 1</li>
    </ul>
</ul>
<li>topic 2</li>
</ul>

to

* topic 1 
   + subtopic 1 
   + subtopic 2 
      - subsubtopic 1 
* topic 2 

but I don't know how to add margin-left or padding-left for a deeper
topic than the first level!? Thank you for help! :)

Torsten
Received on Saturday, 7 May 2005 15:23:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT