You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ah...@apache.org on 2005/08/17 02:43:19 UTC

svn commit: r233092 - /maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt

Author: aheritier
Date: Tue Aug 16 17:43:16 2005
New Revision: 233092

URL: http://svn.apache.org/viewcvs?rev=233092&view=rev
Log:
Fix how to display an image with a full url

Modified:
    maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt

Modified: maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt?rev=233092&r1=233091&r2=233092&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt (original)
+++ maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt Tue Aug 16 17:43:16 2005
@@ -230,6 +230,9 @@
         </xsl:when>
         <xsl:otherwise>
           <xsl:choose>
+            <xsl:when test="starts-with($ref, 'http://')">
+              <xsl:value-of select="$ref"/>
+            </xsl:when>
             <xsl:when test="string-length($dirName) = 0">
               <xsl:value-of select="$ref"/>
             </xsl:when>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org