[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

re: table of contents

Subject: re: table of contents
From: "Hilton, Peter" <HiltonP@xxxxxxxxxx>
Date: Wed, 8 Dec 1999 18:09:06 -0000
fo list table of contents
>From: "Hadar, Oren" <ohadar@xxxxxxxxxxxxxxxxxxxxxxxxx>
>Date: Thu, 5 Aug 1999 13:41:33 -0400 
>Hi XSL-Listers,

>I am trying to set up a table of contents with XSL, and there are two
things
>I haven't figured out how to do.  These are:
>1. A right-justified page number for each entry.

You can treat each list entry as a list entry, with the table of contents
entry as the list item label, and the page number as the list item body:

<fo:list-item-label>
	<fo:block text-align="start"><xsl:value-of
select="heading"/></fo:block>
</fo:list-item-label>
<fo:list-item-body>
	<fo:block text-align="end"><fo:page-number-citation/></fo:block>
</fo:list-item-body>

Unfortunately, FOP doesn't seem to support fo:page-number-citation :-(

Peter Hilton
http://hilton.org.uk/
(Opinions are mine, not my employer's)


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.