Subject: Re: [xsl] xsl-fo: how do I inline a jpeg image .... From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 12 Oct 2004 17:32:52 +0100 |
> 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] sorting and preceding-sibling, ethan.kalfus | Thread | [xsl] how select all siblings?, Hardy Merrill |
Re: [xsl] sorting and preceding-sib, Kenneth Stephen | Date | RE: [xsl] Checking for instance of , Michael Kay |
Month |