Here is our working code:
<xsl:if test="@isrc!=''">
<fo:external-graphic scaling="uniform" height="auto" width="auto"
content-width="auto" content-height="auto" src="[EMAIL PROTECTED]"/>
</xsl:if>
If I remember right, you also have to set the basedir (either in your
userconfig.xml or via Java):
Configuration.put("baseDir", "file:" + imgSrcDir);
-Lou
"Mihael Knezevic" <[EMAIL PROTECTED]> on 02/04/2003 07:56:52
Please respond to [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
cc:
Subject: external-graphic problem
hi,
i think i got a simple problem and probably everybody will point me to
the fop faq but i need an example (hopefully a working one).
i want to have one pic on one page.
i got the following xml file:
<Bericht>
<Bild source="wgr-50.jpg" />
<Bild source="wgr-60.jpg" />
<Bild source="wgr-70.jpg" />
<Bild source="wgr-80.jpg" />
...
</Bericht>
i got the following xsl line in my xsl file:
<fo:external-graphic src="@source" />
but i get the error message:
[ERROR]: Error while creating area : Error with image URL: @source (Das
System kann die angegebene Datei nicht finden) and no base directory is
specified
can anybody help?
thanx
mk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]