Re: Nagivating TOC (XSL FO)

"W. Eliot Kimber" <[email protected]>
Newsgroups gmane.org.w3c.xsl-editors
Organization ISOGEN International
Message-ID <[email protected]>
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 [email protected] or the Mulberry 
  XSTL list (I prefer XSL-FO for FO-related questions because it's more 
focused).

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

Cheers,

Eliot
-- 
W. Eliot Kimber, [email protected]
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.