Re: Use a relative path

2002-06-06 Thread J.Pietschmann
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

Re: Use a relative path

2002-06-06 Thread J.Pietschmann
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

Re: Use a relative path do insert a graphics file (Re-post with bett er title)

2002-06-06 Thread Bertrand Delacretaz
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

Re: Use a relative path

2002-06-06 Thread Florence Deforge
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

Use a relative path do insert a graphics file (Re-post with bett er title)

2002-06-06 Thread Hahn Kurt (CHA)
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

Use a relative path

2002-06-06 Thread Hahn Kurt (CHA)
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