Src=uri (http://www.w3.org/TR/xsl/#src) If you can point a uri to it, you can use it. An image in memory might be useful for putting on a screen with the AWT renderer. I can think of any way you would reference a java object from an xsl file. If anything you'd have to code it in a custom function yourself and point the xsl file to that using a namespace. I'm fairly certain the external-graphic (http://www.w3.org/TR/xsl/#fo_external-graphic) won't do it.
I couldn't figure out what sort of path to use to point the xsl to my picture file, so I found a program to convert the file to a series of svg:path fill statements and put the image right in the xsl. It made the output files a bit larger but it removes any headaches over making sure it can find the graphic file. -----Original Message----- From: pedro [mailto:pedro.r...@libero.it] Sent: Tuesday, April 13, 2010 10:54 AM To: fop-users@xmlgraphics.apache.org Subject: Re: java.awt.image I know, but i don't want to use a physical file but only one object that i have in memory. So i want to say if is possible to pass a java.awt.image or similar to the xsl . Thanks! -- View this message in context: http://old.nabble.com/java.awt.image-tp28229153p28231355.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org