cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject sub sitemap context dir
Date Mon, 02 Jul 2001 09:04:25 GMT
I wonder if there is a way of having a sub sitemap
that does not change the context dir.
I need to access files in the parent dir of the
sub sitemap's dir.

Under linux filesystem links could solve the
problem. (Although it is not a very nice sollution)

My first guess was not to change the context dir
by passing an empty src attribute to the mount
attribute:

  <map:match pattern="sub/**">
    <map:mount uri-prefix="sub" src="" check-reload="yes"/>
  </map:match>

But how is the sitemap.xmap found then?

So if this is not possible right now... What about
an explicit context dir parameter for the map:mount?

  <map:match pattern="sub/**">
    <map:mount uri-prefix="sub" src="sub/sitemap.xmap" context="sub/" check-reload="yes"/>
  </map:match>

So I could do

  <map:match pattern="sub/**">
    <map:mount uri-prefix="sub" src="sub/sitemap.xmap" context="" check-reload="yes"/>
  </map:match>

Is this possible at all?
--
Torsten

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


Mime
View raw message