forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miroslav Mocek <>
Subject Re: using DirectoryGenerator (Was: Using XML db as the source of xml files)
Date Thu, 06 Oct 2005 11:59:05 GMT

I'd like to create index with links to the files in the dir.

I've wrote xsl, which produces this xml document:

<title>Welcome to MyProj</title>
    <section id="overview">
<link href="http://localhost:8888/my/first.xml">first</link>
<link href="http://localhost:8888/my/second.xml">second</link>

Is is called is sitemap.xmap:
<map:match pattern="my">
<map:generate type="directory" src="{project:content.xdocs}/my">
    <map:parameter name="depth" value="2"/>
<map:transform src="resources/stylesheets/directory2document.xsl"/>
  <map:serialize type="xml"/>

However I get only the xml (complete paste above) as result, not skinned 
- That will intercept the request for the body content, for only this 
specific "download" document, and will transform it into the 
intermediate Forrest "document" format. The normal Forrest machinery 
will handle the aggregation with navigation menus etc. and will apply 
the normal skin.)

? Thanks

View raw message