Re: xsl-fo: how do I inline a jpeg image ....
> Are there other formatters that support this URL scheme or just XEP? don't ask me, I don't really use fo much, I just remembered the posting. I'd guess that any java based system (eg fop?) could use any uri scheme at all so long as a suitable uriresolver was dumped into the java class path... I wrote the above and then thought I should have written http://www.google.com/search?hl=en&q=XSL+FOP+data+uri+scheme because when I tried that, the first link returned says: http://java2.5341.com/msg/80110.html I wrote a RTF to XSL-FO converter that can embed images in the created XSL-FO file/stream using the data scheme. The JRE gives us the chance to set a stream handler factory handling other protocols. Please have a look at the attached Java files. Compile all and then call (before rendering with FOP): URL.setURLStreamHandlerFactory( de.dd.net.ExtendableURLStreamHandlerFactory.getDefaultFactory() ); I tested it with FOP and it works fine. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format