Hi Robert, <xsl:variable name="imagedir" select="'file:C:\\axonie\clients\Infolis\work\jakarta-tomcat-4.1.12\webapps\ cocoon\samples\srvimp\style\xsl\images\'"/> <xsl:variable name="graphUrl" select="'http://localhost:8080/cocoon/samples/srvimp/svg/'"/>
these 2 lines are the xsl variables i use to prefix my filenames, it works on my machine. <xsl:variable name="cbpath" select="concat($graphUrl,$cbname)"/> <fo:external-graphic src="{$cbpath}"/> Ludovic ----- Original Message ----- From: "Robert Sösemann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 03, 2002 10:19 PM Subject: Re: dynamic xsl:fo image inclusion > My image was also very small. This could not be the reason. Maybe you could > send me some of your code snippets. > > Robert > ----- Original Message ----- > From: "Ludovic de Beaurepaire" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, December 03, 2002 5:51 PM > Subject: Re: dynamic xsl:fo image inclusion > > > > Hi robert, > > > > I solved this problem this afternoon :-) there were no error message in > the > > logs, and the cause was a too large image. try with a small jpg. > > > > Regards, > > > > Ludovic > > ----- Original Message ----- > > From: "Robert Sösemann" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, December 03, 2002 5:21 PM > > Subject: dynamic xsl:fo image inclusion > > > > > > > I tried every tip I could find on the web, but I never had success > > including > > > an jpg into an pdf with cocoon. > > > Maybe sombody can help? > > > > > > Thats what I have: > > > > > > XSL:FO fragment transforming IMG tags: > > > > > > <xsl:template match="IMG"> > > > <fo:inline> > > > <fo:external-graphic src="url(MYPATHBASE/{$src})"/> > > > </fo:inline> > > > </xsl:template> > > > > > > MYPATHPATH is changed to the real cocoon base path before serializing. > So > > > the serializer should request the image in a correct way, that it is > > caugth > > > by this sitemap matcher: > > > > > > <map:match pattern="**.jpg"> > > > <map:read mime-type="image/jpg" > src="resources/{1}.jpg"/> > > > </map:match> > > > > > > Why do I never get to see an image in my pdf`? > > > > > > > > > --------------------------------------------------------------------- > > > Please check that your question has not already been answered in the > > > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>