W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2003

Re: Nagivating TOC (XSL FO)

From: W. Eliot Kimber <eliot@isogen.com>
Date: Thu, 13 Mar 2003 09:36:15 -0600
Message-ID: <3E70A56F.60007@isogen.com>
To: The Crystal <theirony@starhub.net.sg>
CC: xsl-editors@w3.org

The Crystal wrote:
> * Hi, *
> * my book doesn't have a specific TOC tag in this case, so I create my 
> own TOC by reading in the title names like so: *
> *   <fo:block text-indent="25pt" font-size="11pt" line-height="20pt">
>   <xsl:for-each select="book/chapter">
>         <xsl:value-of select="title"/> 
>     </xsl:for-each>
>   </fo:block> *
> * * 
> * However, now I would like to link each displayed title to their 
> respective actual places in the book. Can anyone advise on this? I cant 
> id the block because title occurs repeatedly (obviously) so FOP spits 
> out an error. I also need to do the same for the PDF bookmarks but I 
> need to know how to populate the bookmarks and link them without 
> specifying the words statically... *

This is really not a question for the editors--it's a basic how-to 
question on using XSL-FO and XSLT. You should ask this question on one 
of the XSL-related lists, such as XSL-FO@yahoogroups.com or the Mulberry 
  XSTL list (I prefer XSL-FO for FO-related questions because it's more 

If you ask your question there I will answer it :-).


W. Eliot Kimber, eliot@isogen.com
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139
Received on Thursday, 13 March 2003 10:36:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:22 UTC