You have several options to achieve this. Either way, set the "baseDir"
configuration setting (see http://xml.apache.org/fop/configuration.html)
to your base URL.

You can use "file://" URLs if your images are saved on a file system you
have access to from wherever you will be running FOP.

A different option (in a J2EE environment) would be to have FOP issue
http or https requests to a servlet that can access Slide (e.g. by image
path or passing an id), set the base URL to "http://...";.

Another hint - add a trailing "/" to your "baseDir" setting, otherwise
FOP doesn't append the relative path correctly.


-----Original Message-----
From: delbd [mailto:[EMAIL PROTECTED] 
Sent: 25 April 2005 09:37
To: [email protected]
Subject: How to load graphical ressources from a content management
engine

Hello,
i plan to use fops to generate pdf documents from a xsl-fo located in a 
document management engine.
However, looking at code, it seems relative url for graphic tag are
handled as 
relative to current directory and not relative to the source of the
xsl-fo. 
In our case the xsl-fo is located in a content management engine (slide)
and 
so is the pictures used by the xsl-fo. Can someone enlight me on how am 
supposed to manage this?

Thanks
-- 
David Delbecq
Royal Meteorological Institute of Belgium

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 
CONFIDENTIALITY NOTICE

This e-mail is confidential to the addressee. It may also be privileged. 
Neither the confidentiality nor any privilege attaching to this e-mail is 
waived lost or destroyed by reason that it has been mistakenly transmitted to a 
person or entity other than the addressee. If you are not the addressee please 
notify us immediately by telephone or fax at the numbers provided above or 
e-mail by Reply To Author and return the printed e-mail to us by post at our 
expense. We believe, but do not warrant, that this e-mail and any attachments 
are virus-free, but you should check. We may monitor traffic data of both 
business and personal e-mails. We are not liable for any opinions expressed by 
the sender where this is a non-business e-mail. If you do not receive all the 
message, or if you have difficulty with the transmission, please telephone us 
immediately.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to