wood burning stoves*
The moose likes XML and Related Technologies and the fly likes How to get background image in XSL FO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to get background image in XSL FO" Watch "How to get background image in XSL FO" New topic
Author

How to get background image in XSL FO

priby mathew
Greenhorn

Joined: Jan 28, 2008
Posts: 25
Greetings to all.

I am using FOP 0.20.5 and I am trying to add a background image with the following code:



But I am not able to get the background image. I see only the text.

Any help appreciated.

Thanks in advance
priby
[ September 25, 2008: Message edited by: priby mathew ]
priby mathew
Greenhorn

Joined: Jan 28, 2008
Posts: 25
Or is there any way to put background image for a table-cell (when using fop 0.20.5)???
[ September 25, 2008: Message edited by: priby mathew ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41876
    
  63
No idea, but have you tried a recent version of FOP? There have been oodles of improvements since 0.20.5 (which was released more than 5 years ago).


Ping & DNS - my free Android networking tools app
priby mathew
Greenhorn

Joined: Jan 28, 2008
Posts: 25
Actually my client application uses fop 0.20.5 and there are around hundreds of XSL FO files.

If I move to a higher version of fop, I doubt whether it would affect the already existing XSL FOs which are running on fop 0.20.5
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12788
    
    5
The Apache FOP project has an active user mailing list. You can ask the question there or search the mailing list archives.

Bill
priby mathew
Greenhorn

Joined: Jan 28, 2008
Posts: 25
Thanks for your reply.

Actually there was some problem with the image file.

With fop 0.20.5 version and with a different image file Now I am able to get the background image with the following code snippet:

francisco zenha
Greenhorn

Joined: Oct 03, 2008
Posts: 3
Hello,

I need to set an background-image that is set in an xml. I have an xslt file that gets information from an XML and one of that information is the path to an image. Ho
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

Francisco, that isn't a helpful addition to this thread. It doesn't address the original question in any way. If you have a question, please start a new thread to ask it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get background image in XSL FO