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

Nagivating TOC (XSL FO)

From: The Crystal <theirony@starhub.net.sg>
Date: Thu, 13 Mar 2003 15:22:55 +0800
Message-ID: <000801c2e931$5e4eb140$7f499cca@blackirony>
To: <xsl-editors@w3.org>
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"/> 

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...
Received on Thursday, 13 March 2003 02:15:24 UTC

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