Hahn Kurt (CHA) wrote:
I need to add a graphics file, originally placed in the same directory where
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
Florence Deforge wrote:
I'm not sure it makes the difference but I always precede the relative path
with the "file:" string like this :
That's a *bad* idea, actually violating URL syntax.
See
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=102027988321347&w=2
for some explanations.
J.Pietschmann
Hi Kurt,
AFAIK relative image paths do not work when FOP is used within Cocoon, due to
FOP (or any Cocoon Serializer for that matter) not getting info about the
location of the current XSLT file.
Maybe using http URLs would work?
http://myserver/images/thisone.gif"/>
But I haven't tested it.
O
ROTECTED]>
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
where
> my sitemap is located.
> ¨There's no problem if I use an absolute path, the file is displayed. If I
> use a relative p
I need to add a graphics file, originally placed in the same directory where
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
I need to add a graphics file, originally placed in the same directory where
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. Ho