[Home] [By Thread] [By Date] [Recent Entries]
Hi all,
I have been reviewing <fo:basic-link> and have learned how to use the external- and internal- destination properties. Two test code fragments are listed below. Is there a way to make <fo:basic-link external-destination="s.pdf"> take me directly to <xsl:attribute name="id">block1</xsl:attribute> within the s.pdf document rather than just opening the "s.pdf" document? If so, how would I change <fo:basic-link external-destination="s.pdf"> to do that? Thanks, Mark Listing fragment 1: set Id
<fo:block xsl:use-attribute-sets="subject">
<xsl:if test=". eq 'St. Adalbert Association'">
<xsl:attribute name="id">block1</xsl:attribute>
</xsl:if>
<xsl:value-of select="."/>
<fo:wrapper xsl:use-attribute-sets="catalog-numbers">
<xsl:call-template name="catalog-name-and-number"/>
</fo:wrapper>
<xsl:apply-templates select="../Xref" mode="set-up"/>
</fo:block>Listing Fragment 2: make link <xsl:choose> <xsl:when test="Heading eq 'St. Adalbert Association'"> <fo:basic-link external-destination="s.pdf" color="blue"> <xsl:value-of select="Heading"/> </fo:basic-link> </xsl:when> <xsl:otherwise> <xsl:value-of select="Heading"/> </xsl:otherwise> </xsl:choose>
|

Cart



