XSL-FO/apache FOP - path to images

Having trouble installing Oxygen? Got a bug to report? Post it all here.
MarkusHuneke
Posts: 5
Joined: Tue Oct 02, 2018 4:10 pm

XSL-FO/apache FOP - path to images

Post by MarkusHuneke »

Hello,
I have the following problem: I convert a number of xml documents to PDF using XSL-FO with Apache FOP. How do I enter the path to the folder with the images correctly? I tried the absolute specification (like:

Code: Select all

e:/path/to/images/
- with extracted, correct image numbers). The path was correct in my opinion, but the images were not displayed.
On another workstation it worked to put the images folder into the temp folder of Oxygen (OxygenXMLTemp). I can't do that again on this computer (apart from the fact that it's only a temporary solution anyway).

Thank you in advance,
Markus Huneke
Radu
Posts: 9414
Joined: Fri Jul 09, 2004 5:18 pm

Re: XSL-FO/apache FOP - path to images

Post by Radu »

Hi Markus,

How does the generated XSL-FO file look like?
In the end the XSL-FO should refer to the image something like this:

Code: Select all

<fo:external-graphic src="url(file:/e:/path/to/images/image.png)"></fo:external-graphic>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply