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

How to specify relative path for background image in xsl

Thu Oct 25, 2007 2:01 pm

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.

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 3 guests