forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: using DirectoryGenerator (Was: Using XML db as the source of xml files)
Date Thu, 06 Oct 2005 10:31:00 GMT
El jue, 06-10-2005 a las 12:19 +0200, Miroslav Mocek escribió:
> >>I've put this 3 lines in my sitemap.xmap. (found in 
> >>http://cocoon.zones.apache.org/demos/release/docs/userdocs/generators/directory-generator.html)
> >><map:match pattern="my*">
> >>   <map:generate src="my"/>
> >>   </map:match>
> >>    
> >>
> >
> >That is not what the page tells you to do.
> >Anyway, see below.
> >
> >  
> >
> ok, I used exact syntax from the page
> <map:match pattern="my">
> <map:generate type="directory" src="my">
>     <map:parameter name="depth" value="2"/>
>   </map:generate>    
>    </map:match>
> 

No serializer!

<map:match pattern="my">
  <map:generate type="directory" src="my">
    <map:parameter name="depth" value="2"/>
  </map:generate>  
  <map:serialize type="xml" />  
</map:match>

HTH
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message