Author: ferdinand
Date: Fri Feb 15 12:29:05 2008
New Revision: 628164

URL: http://svn.apache.org/viewvc?rev=628164&view=rev
Log:
Changed image handling to solve problems with generated images and fop. Some 
improvement but not a complete solution.

Modified:
    
forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl

Modified: 
forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl
URL: 
http://svn.apache.org/viewvc/forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl?rev=628164&r1=628163&r2=628164&view=diff
==============================================================================
--- 
forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl
 (original)
+++ 
forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/document-to-fo.xsl
 Fri Feb 15 12:29:05 2008
@@ -1069,8 +1069,8 @@
           </xsl:when>
 <!-- relative to document -->
           <xsl:otherwise>
-            <xsl:value-of
-                            select="concat($xmlbasedir,@src)" />
+              cocoon://<xsl:value-of
+                  select="@src" />
           </xsl:otherwise>
         </xsl:choose>
       </xsl:variable>