[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl-fo: how do I inline a jpeg image ....

Subject: Re: xsl-fo: how do I inline a jpeg image ....
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 12 Oct 2004 17:32:52 +0100
fop uriresolver
> 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
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.