cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Sösemann <robert.soesem...@gmx.de>
Subject Re: dynamic xsl:fo image inclusion
Date Tue, 03 Dec 2002 21:19:25 GMT
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" <ludovic.debeaurepaire@axonie.com>
To: <cocoon-users@xml.apache.org>
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" <robert.soesemann@gmx.de>
> To: <cocoon-users@xml.apache.org>
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message