How to specify relative path for background image in xsl

Here should go questions about transforming XML with XSLT and FOP.
sanjeev.gour
Posts: 4
Joined: Thu Oct 25, 2007 1:57 pm

How to specify relative path for background image in xsl

Post 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.