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]>