I'm not sure it makes the difference but I always precede the relative path
with the "file:" string like this :

<fo:external-graphic src="file:ecu.jpg"/>


<fo:external-graphic >
  <xsl:attribute name="src">
    <xsl:value-of select="imagepath"/>

and it works

Hope this helps
----- Original Message -----
From: "Hahn Kurt (CHA)" <[EMAIL PROTECTED]>
Sent: Thursday, June 06, 2002 10:27 AM
Subject: Use a relative path

> I need to add a graphics file, originally placed in the same directory
> my sitemap is located.
> ¨There's no problem if I use an absolute path, the file is displayed. If I
> use a relative path, nothing. The file is very small, so I even copied in
> other subdirectories, but still nothing. How can I do that?
> working:
>  <fo:external-graphic
> src="D:\jakarta-tomcat-4.0.1\webapps\cocoon\mount\AigleK\ecu.jpg"/>
> not working:
> <fo:external-graphic src="ecu.jpg"/>
> Kurt

Reply via email to