Re: multiple layered list

On Tue, Aug 12 2008 21:23:51 +0100, darkfins@yahoo.com wrote:
> How do I create a multiple layered list such as this (output):
>
> * Car
>    - Tires
>    - Windows
>    - Engine
>       > 4 Cylinder
>       > 6 Cylinder
>       > 8 Cylinder

The example for how to do lists is at
http://www.w3.org/TR/xsl11/#d0e12424.

You would want to put your symbol as the content of the fo:block in the
fo:list-item-label.

For successive list levels, you could increase the start-indent of the
fo:list-item-label for the nested list items.

Regards,


Tony Graham                         Tony.Graham@MenteithConsulting.com
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2

Received on Monday, 18 August 2008 22:44:11 UTC