Nicola Ken Barozzi wrote:


<map:select type="resource-exists"> <map:when test="bar/file1.xml">

which means the path is relative to the actual sitemap?
Or am I overlooking something?


Sub-sitemaps can be anywhere

you mean referenced by absolute paths?


and not necessarily work with a sub-dir
scenario in mind. Forrest is a good example of this, as we use several subsitemaps, all in the same dir.

i need to check that



What IMHO would make more sense, instead, is something like:


 <map:select type="resource-exists" base="foo/">
   <map:when test="bar/file1.xml">

and "base" as optional attribute?



....



--
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
[EMAIL PROTECTED]                        [EMAIL PROTECTED]



Reply via email to