On 30.Sep.2002 -- 01:02 PM, Christian Haul wrote: > > Another one would be to retrieve the path using one of the > DatabaseSelectActions and use the InputModule-substitution in sitemap > to read that file. (available in 2.1 (cvs) for interpreted sitemap and > 2.0.4 (cvs) for compiled sitemap)
InputModule-substitution is not needed because the result will be placed in sitemap parameters anyway. So, this boils down to: Use anyone of the DatabaseSelectActions and use the returned sitemap parameter for your path. So, off my head: <map:match pattern="*"> <map:act type="findPath"> <map:generate src="{documents.path[0]}"/> <map:serialize/> </map:act> <map:redirect-to uri="file-not-found"/> </map:match> given that everything is setup properly before. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>