Title: External graphic referencing within a servlet
I'm using a serlvet to perform the XSLT transformation into my PDF document. Everything works fine EXCEPT the images. I've tried referencing my images many different ways, and none seem to work. Does anybody know how to get
I'm using a serlvet to perform the XSLT transformation into my PDF document.
Everything works fine EXCEPT the images. I've tried referencing my images
many different ways, and none seem to work. Does anybody know how to get this
functionality to work?
Here's my graphic:
You may need to the the base directory/URL. See:
http://xml.apache.org/fop/embedding.html#config-internal
But I think your src attribute is wrong. It should be something like
this: src=url(file:logo.gif).
On 21.05.2003 18:02:20 Jeremy Nix wrote:
I'm using a serlvet to perform the XSLT
On 5/21/2003 9:18 AM, Jeremias Maerki wrote:
You may need to the the base directory/URL. See:
http://xml.apache.org/fop/embedding.html#config-internal
But I think your src attribute is wrong. It should be something like
this: src=url(file:logo.gif).
I was thinking it was this:
fo:external-graphic
William Gilbert wrote:
src=file:url(logo.gif)/
That's not a meaningful value, it will be interpreted as a file
ULR pointing to the file named url(logo.gif), and it's also
violating URI syntax. Use
src=url(logo.gif)
instead and set the baseURL configuration value.
J.Pietschmann