You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jason Dusek <ja...@gmail.com> on 2005/10/26 21:40:22 UTC
simple directory listing
what's the right way to implement the following:
if the request is a directory
if the directory has no sitemap
create a simple directory listing like so:
<map:generate type="directory" src="{theDirectory}"/>
<map:transform src="directory2html.xslt"/>
<map:serialize type="xhtml"/>
otherwise
call the requests sitemap.xmap
end
end
as you can see, i need help with three things - defining the source,
defining the match, and putting the match in the right place relative
to all the other matches. any solutions|examples for this kind of
thing?
--
_jason
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org