evenisse 2004/01/21 03:47:34 Modified: pdf/src/plugin-resources fo-body.xslt Log: Fix links in table Revision Changes Path 1.4 +3 -3 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.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- fo-body.xslt 21 Jan 2004 09:14:44 -0000 1.3 +++ fo-body.xslt 21 Jan 2004 11:47:34 -0000 1.4 @@ -323,7 +323,7 @@ </xsl:choose> </xsl:template> <!-- Templates for handling XHTML tags --> - <xsl:template match="[EMAIL PROTECTED] and not(ancestor::table) and (starts-with(@href, 'http') or starts-with(@href, 'mailto') or starts-with(@href, 'ftp'))]"> + <xsl:template match="[EMAIL PROTECTED] and (starts-with(@href, 'http') or starts-with(@href, 'mailto') or starts-with(@href, 'ftp'))]"> <xsl:param name="chapterNumber"/> <fo:basic-link external-destination="[EMAIL PROTECTED]"> <fo:inline xsl:use-attribute-sets="href"> @@ -335,7 +335,7 @@ </fo:inline> </fo:basic-link> </xsl:template> - <xsl:template match="[EMAIL PROTECTED] and not(ancestor::table) and starts-with(@href, '#')]"> + <xsl:template match="[EMAIL PROTECTED] and starts-with(@href, '#')]"> <xsl:param name="chapterNumber"/> <fo:basic-link internal-destination="[EMAIL PROTECTED]"> <fo:inline xsl:use-attribute-sets="href"> @@ -347,7 +347,7 @@ </fo:inline> </fo:basic-link> </xsl:template> - <xsl:template match="[EMAIL PROTECTED] and not(ancestor::table) and not(starts-with(@href, 'http')) and not(starts-with(@href, '#'))]"> + <xsl:template match="[EMAIL PROTECTED] and not(starts-with(@href, 'http')) and not(starts-with(@href, 'mailto')) and not(starts-with(@href, 'ftp')) and not(starts-with(@href, '#'))]"> <xsl:param name="chapterNumber"/> <fo:basic-link internal-destination="[EMAIL PROTECTED]()}"> <fo:inline xsl:use-attribute-sets="href">
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]