Hi,

I have a XHTML document with relative URLs. I use FOP to transform it into PDF 
(first FO then PDF).
I modified fop.xconf base parameter to 
http://www.my_site.com<http://www.my_site.com/>. But in PDF, links and image 
sources still are file:// formatted...

Could you help me figuring what I'm doing wrong please?

Example:

xhtml => <a href"/content/article.html">my link</a>
fo => <fo:basic-link external-destination="url('/content/article.html')">my 
link</fo:basic-link>
pdf => link to file:///content/article.html


In my fop.xconf:

<base>http://www.my_site.com</base>


And I run FOP from command line with:

fop -c fop.xconf -xml file.xhtml -xsl file.xsl file.pdf


Friendly,

Benjamin Plaquevent
Chef de projet technique
Smile - Motoristes Internet
http://www.smile.fr
Tél : 02 51 72 29 69
Fax : 02 51 72 04 22
Mailto : [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>

Reply via email to