You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "VENKATESAN, PADMANABAN (SBCSI)" <pv...@sbc.com> on 2004/05/26 03:11:11 UTC

RE: view file outside cocoon directory

Hi,

Is there a way to view a file outside cocoon directory.
For e.g.. 
I have directory structure for cocoon as
/opt/iplanet/servers/cocoon/.....
And I need to view a file outside cocoon directory. All I have is
directory name and file name. How do I get full path dynamically. Is
that possible to get absolute path dynamically in sitemap.xmap.

Thanks
Padu.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: view file outside cocoon directory

Posted by David Crossley <cr...@apache.org>.
VENKATESAN, PADMANABAN (SBCSI) wrote:
> Hi,
> 
> Is there a way to view a file outside cocoon directory.
> For e.g.. 
> I have directory structure for cocoon as
> /opt/iplanet/servers/cocoon/.....
> And I need to view a file outside cocoon directory. All I have is
> directory name and file name. How do I get full path dynamically. Is
> that possible to get absolute path dynamically in sitemap.xmap.

Yes ...
http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html#file-url

--David



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org