W3C home > Mailing lists > Public > www-xsl-fo@w3.org > August 2008

Re: multiple layered list

From: Tony Graham <Tony.Graham@MenteithConsulting.com>
Date: Mon, 18 Aug 2008 23:43:37 +0100
To: www-xsl-fo@w3.org
Message-ID: <87zlnaosfa.fsf@menteith.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 18 August 2008 22:44:12 GMT