Search found 4 matches

by sanjeev.gour
Wed Nov 14, 2007 11:51 am
Forum: XSLT and FOP
Topic: Dynamic URL for background-image
Replies: 1
Views: 2203

Dynamic URL for background-image

Hi, When I use the following code, the image gets displayed correctly in the PDF- <fo:block border-style="solid" border-width="0.2pt" text-align="left" font-size="8pt" font-weight="bold" color="white" padding-top="1pt" padding-bottom="1pt" background-image="url{'http://localhost:8080/project/images/...
by sanjeev.gour
Tue Nov 13, 2007 12:38 pm
Forum: XSLT and FOP
Topic: How to get current URL in xsl
Replies: 1
Views: 3902

How to get current URL in xsl

Hi,
Is there any way to get the current url using xsl??? I tried using <xsl:value-of select="static-base-uri()"/> but I get NullPointerException in this case. :oops:

Please help, its urgent.

Thnx,
Sanjeev.
by sanjeev.gour
Thu Oct 25, 2007 3:12 pm
Forum: XSLT and FOP
Topic: Text wrap in xsl:fo- table-cell
Replies: 0
Views: 4904

Text wrap in xsl:fo- table-cell

Hi, I am creating a PDF using xsl-fo. Whenever my text is very large, it goes beyond the table cell in the column. I want that the text should be wrapped when it is large. Is there any option to do this??? My table cell is like the following- <fo:table-cell padding="2pt" border="0.2pt solid black" b...
by sanjeev.gour
Thu Oct 25, 2007 2:01 pm
Forum: XSLT and FOP
Topic: How to specify relative path for background image in xsl
Replies: 0
Views: 3940

How to specify relative path for background image in xsl

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