You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Michael McKibben <mm...@ncube.com> on 2001/09/04 19:03:15 UTC
[C2] specify context dir with sub-sitemap?
Hello, I was wondering if it was possible to specify the context directory
independently of the sitemap file when mounting a sub-sitemap. After some
digging around, it doesn't seem possible, but perhaps I missed something
obvious?
Would it be useful to add this flexibility? I can see two
possible ways to add this feature (I am sure there are
more.)
1. Add an attribute to the map:mount element allowing a context to be
specified explicitly, e.g.
<map:mount uri-prefix="sub/" src="WEB-INF/etc/sub.xmap" context="sub/"/>
2. In the sitemap file itself, allow the specification of the context
directory, e.g. (in sub sitemap file)
<map:sitemap context="/sub">
...
</map:sitemap>
Option two has the benefit of being able to change the root sitemap's
context path, not just sub sitemaps. I will volunteer to help add this
feature if there is any interest in this.
Regards,
--mike
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org