How do create anchor links in an XSL FO file?
"The Crystal" <[email protected]> Wed, 12 Mar 2003 01:53:50 +0800
| Newsgroups | gmane.text.xml.xsl.general |
|---|---|
| Message-ID | <000801c2e7f7$2d16ea10$7f499cca@blackirony> |
Hi,
I havent been able to find a solution to link the listed chapters in my Table of Contents to the specific chapters later on in the book. Is there a way to do so?
<fo:flow flow-name="xsl-region-body">
<fo:block break-after="page" font-size="19pt">
Table of Contents
<fo:block space-after="7pt"></fo:block>
<fo:block text-indent="25pt" font-size="11pt" line-height="20pt">
<xsl:for-each select="book/chapter">
<xsl:value-of select="title"/><fo:block></fo:block>
</xsl:for-each>
</fo:block>
</fo:block>
<xsl:apply-templates select="book"/>
<xsl:apply-templates select="chapter"/>
</fo:flow>