You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Bert Van Kets <be...@vankets.com> on 2002/11/04 10:16:32 UTC

Re: directory generator -> sorting parameter works?

Hi Sanne,
This feature is not available.
You'll have to add it and provide a patch.
You can use sorting in XSLT though using xsl:for-each and then xsl:sort.
HTH,
Bert


At 11:14 31/10/2002 +0100, you wrote:
>Hi,
>
>I've been trying to get a sorted file listing from the directory generator.
>Here's my sitemap snippet:
>
>
><map:match pattern="dynamic/**_dir.xml">
>  <map:generate type="directory" src="dynamic/{1}">
>   <map:parameter name="sort" value="name"/>
>  </map:generate>
>  <map:serialize type="xml"/>
></map:match>
>
>
>But there's no sorting.
>All sugestions welcome!
>
>KR,
>
>Sanne
>
>---------------------------------------------------------------------
>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:     <co...@xml.apache.org>
>For additional commands, e-mail:   <co...@xml.apache.org>


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>