| Subject: RE: [xsl] insert an image into a pdf From: <Jarno.Elovirta@xxxxxxxxx> Date: Tue, 29 Nov 2005 13:06:32 +0200 | 
Hi,
>I run an xsl stylesheet to make a pdf which contains the expression:
><fo:external-graphic src='{$logo}' ...
>
>I use this expression because I want to insert an icon.
>
>It works fine when $logo=file:c:/icons/logo.jpg, but I would
See XSL spec, src attribute value space is a uri-specification, so you want
  <fo:external-graphic src='url("{$logo}")' ...
>like to read this image from a jar file and in this case I
>have not found the good syntax.
>I have tried $logo=file:archive.jar/icons/logog.jpg but still
>unsuccessful.
>
>Is it possible to do it by this way ?
Check the documentation of your XSL engine and if they support reading files
from JAR files.
Jarno
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| [xsl] insert an image into a pdf, LEDEAUT Stephane | Thread | [xsl] Copy element with attributes, Diogo Vascocelos | 
| [xsl] Highlighting Title in TOC, Shailesh Shinde | Date | RE: [xsl] Highlighting Title in TOC, Jarno.Elovirta | 
| Month |