|
Subject: [xsl] FO cross references From: Elena Pierazzo <pierazzo@xxxxxxxxxxxxx> Date: Thu, 10 Mar 2005 16:59:05 +0100 |
<TEI.2> .... for such aspect see <ref target="img">the img table</ref> ...
<table id="img> ... </table>
1. <xsl:template match="ref">
<xsl:apply-templates/>
(p. <xsl:text> </xsl:text>
<fo:page-number-citation ref-id="{@target}"/>)
</xsl:template>2. <xsl:template match="ref">
<xsl:apply-templates/>
(p. <xsl:text> </xsl:text>
<fo:page-number-citation>
<xsl:attribute name="ref-id">
<xsl:value-of select="@target"/>
</xsl:attribute>
</fo:page-number-citation>)
</xsl:template>3. <xsl:template match="ref"> <!-- taken from the TEI style sheets -->
<xsl:apply-templates/>
(p. <xsl:text> </xsl:text>
<fo:basic-link>
<xsl:attribute name="internal-destination">
<xsl:value-of select="translate(@target,'_','-')"/>
</xsl:attribute>)
</xsl:template>
None is working. The option 1 is apparently working but no page number is putted in output
Thank you Elena
-- Elena Pierazzo Dipartimento Studi Italianistici Via del Collegio Ricci 10 56126 Pisa tel. +39 0502215056
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] RTF from an html, Pieter Reint Siegers | Thread | Re: [xsl] FO cross references, Markus Abt |
| Re: [xsl] if condition, JBryant | Date | Re: [xsl] RTF from an html, Stef |
| Month |