forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 56831 - forrest/trunk/main/webapp/skins/common/xslt/fo
Date Sun, 07 Nov 2004 10:10:16 GMT
Author: crossley
Date: Sun Nov  7 02:10:16 2004
New Revision: 56831

Modified:
   forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl
Log:
Proper detection of parameter "show-external-urls".
They were always being shown.


Modified: forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl
==============================================================================
--- forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl	(original)
+++ forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl	Sun Nov  7 02:10:16 2004
@@ -720,7 +720,7 @@
       </xsl:when>
       <xsl:otherwise>
         <fo:basic-link color="blue" text-decoration="underline" external-destination="{@href}"><xsl:apply-templates/></fo:basic-link>
-        <xsl:if test="$show-external-urls and @href != string(.)">
+        <xsl:if test="$show-external-urls = 'true' and @href != string(.)">
           (<xsl:value-of select="@href"/>)
         </xsl:if>
       </xsl:otherwise>

Mime
View raw message