cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Surratt <>
Subject Re: using request parameters in sitemap
Date Sun, 12 May 2002 19:40:09 GMT
sorry - never mind - I found the answer in the equest-parameter generator:

   <map:match pattern="dirtest1b">
	   <map:match pattern="dir" type="request-parameter">
	     <map:generate type="directory" src="{1}" depth="2"/>
	   	<map:serialize type="xml"/>

now it works with stuff like:


just fine,  even from withing document()    :)


> Hi,
>         I am trying to use the directory generator and having some difficulty.  I can't
get the depth to work (I did check the archives and bug reports with no luck). I looked at
the code in and it looks like it should work but it doesn't so I gave
up and tried a different tack,  I
> created:
>    <map:match pattern="dirtest1a/**">
>     <map:generate type="directory" src="{1}" depth="10"/>
>     <map:serialize type="xml"/>
>    </map:match>

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message