Robert S�semann wrote:
<xsl:template match="IMG">
<fo:inline>
<fo:external-graphic src="url(MYPATHBASE/{$src})"/>
</fo:inline>
</xsl:template>
FOP does not use Cocoons source resolver for finding images.
Your best bet is to use either absolute file URLs:
<fo:external-graphic src="file:///abs/path/to/{$src}"/>
or use a localhost http URL and set up a pipeline for Cocoon to
deliver them. Not exactly the fastest or most secure way (your
images are publicly accessible, unless you restrict access in
the web server to localhost)
<fo:external-graphic src="http://localhost/cocoon/fop-img/{$src}"/>
BTW using images inline will not cause line height to be adjusted
or something, check before that your result looks ok.
J.Pietschmann
---------------------------------------------------------------------
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]>