You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2004/02/17 23:17:52 UTC
cvs commit: maven-plugins/pdf/src/plugin-resources fo-body.xslt
jvanzyl 2004/02/17 14:17:52
Modified: pdf/src/plugin-resources fo-body.xslt
Log:
o applying patch for MAVEN-1162
Revision Changes Path
1.6 +2 -2 maven-plugins/pdf/src/plugin-resources/fo-body.xslt
Index: fo-body.xslt
===================================================================
RCS file: /home/cvs/maven-plugins/pdf/src/plugin-resources/fo-body.xslt,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- fo-body.xslt 26 Jan 2004 08:27:41 -0000 1.5
+++ fo-body.xslt 17 Feb 2004 22:17:52 -0000 1.6
@@ -357,7 +357,7 @@
</xsl:template>
<xsl:template match="a[@href and starts-with(@href, '#')]">
<xsl:param name="chapterNumber"/>
- <fo:basic-link internal-destination="{$chapterNumber}{@href}">
+ <fo:basic-link internal-destination="{$chapterNumber}{@href}{generate-id()}">
<fo:inline xsl:use-attribute-sets="href">
<xsl:apply-templates>
<xsl:with-param name="chapterNumber">
@@ -381,7 +381,7 @@
</xsl:template>
<xsl:template match="a[@name]">
<xsl:param name="chapterNumber"/>
- <fo:block id="{$chapterNumber}#{@name}">
+ <fo:block id="{$chapterNumber}#{@name}{generate-id()}">
<xsl:apply-templates>
<xsl:with-param name="chapterNumber">
<xsl:value-of select="$chapterNumber"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org