forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From che...@apache.org
Subject cvs commit: xml-forrest/src/core/context/skins/common/xslt/fo document2fo.xsl
Date Wed, 04 Feb 2004 20:44:13 GMT
cheche      2004/02/04 12:44:12

  Modified:    .        status.xml
               src/core/context/skins/common/xslt/fo document2fo.xsl
  Log:
  Allow an external url to be included on a document.
  
  Revision  Changes    Path
  1.282     +4 -1      xml-forrest/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/status.xml,v
  retrieving revision 1.281
  retrieving revision 1.282
  diff -u -r1.281 -r1.282
  --- status.xml	29 Jan 2004 23:33:48 -0000	1.281
  +++ status.xml	4 Feb 2004 20:44:12 -0000	1.282
  @@ -30,6 +30,9 @@
     <changes>
       <release version="0.6-dev" date="unreleased">
         <action dev="JJP" type="fix" context="skins">
  +        Allow a full url imaeg to be included on a pdf file
  +      </action>    
  +      <action dev="JJP" type="fix" context="skins">
           Split build file in various parts (webapp,war,validate,site)
         </action>    
         <action dev="DB" type="update" context="skins">
  
  
  
  1.2       +3 -0      xml-forrest/src/core/context/skins/common/xslt/fo/document2fo.xsl
  
  Index: document2fo.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/context/skins/common/xslt/fo/document2fo.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- document2fo.xsl	20 Oct 2003 16:29:05 -0000	1.1
  +++ document2fo.xsl	4 Feb 2004 20:44:12 -0000	1.2
  @@ -558,6 +558,9 @@
           <xsl:when test="starts-with(string(@src), 'images/') or contains(string(@src),
'../images')">
             <xsl:value-of select="concat($ctxbasedir, 'resources/images/' , substring-after(@src,
'images'))"/>
           </xsl:when>
  +        <xsl:when test="starts-with(string(@src), 'http') ">
  +          <xsl:value-of select="@src"/>
  +        </xsl:when>
           <xsl:otherwise><xsl:value-of select="concat($ctxbasedir, $xmlbasedir,
@src)"/></xsl:otherwise>
         </xsl:choose>
         </xsl:variable>
  
  
  

Mime
View raw message