Page 1 of 1

How to specify relative path for background image in xsl

Posted: Thu Oct 25, 2007 2:01 pm
by sanjeev.gour
Hi,

I am generating a PDF from Apcahe FOP. I have an xsl for that, in the xsl fo:block I am displaying a background image. When the image path is absolute like..C:\image\logo.png it works fine. But I want to have the image in my WebContent\images folder and my xsl file is in WebContent\xsls folder. So when I try giving the relative path as ../images/logo.png, the image is not displayed.

Can anyone tell how to do this???

Thanks,
Sanjeev.