You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter Lerche <pl...@wingercom.net> on 2002/05/30 16:50:28 UTC

relative path using "file:" protocol

Hi,

I need to be able to serve an image file which is situated 
in a directory where only its relative path is known to the sitemap.xmap
file.


I have tried to get relative path to work as 

<map:read mime-type="image/jpg" src="file:../../../xxx/yyy"/>

but without any luck 

Can anybody help  -- Thaks


Peter






---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: relative path using "file:" protocol

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Peter Lerche [mailto:plnews@wingercom.net]
> 
> Hi,
> 
> I need to be able to serve an image file which is situated
> in a directory where only its relative path is known to the
sitemap.xmap
> file.
> 
> 
> I have tried to get relative path to work as
> 
> <map:read mime-type="image/jpg" src="file:../../../xxx/yyy"/>

This syntax is illegal.

Why not:

<map:read mime-type="image/jpg" src="../../../xxx/yyy"/>

?

Vadim

> 
> but without any luck
> 
> Can anybody help  -- Thaks
> 
> 
> Peter


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>