forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: Help w/transforming an aggregated doc
Date Tue, 04 Jan 2005 23:05:38 GMT
Andy J wrote:
> Great - I'll use the webapp from now on so I can see that info.  I've
> made progress - now I get the aggregated document in HTML but it is
> not skinned.  This is my pipeline (as it begins to look more and more
> like the main forrest sitemap.xmap):
> 
>     <map:pipeline>
>       <map:match pattern="**/*projects.html">
>         <map:aggregate element="document">
>           <map:part src="cocoon:/header" element="header"/>
>           <map:part src="cocoon:/projinfo" element="section"/>
>         </map:aggregate>
>         <map:transform type="idgen"/>
>         <map:transform type="xinclude"/>
>         <map:transform type="linkrewriter" src="cocoon:/{1}linkmap-{2}.html"/>
>         <map:transform type="log">
>           <map:parameter name="logfile" value="d:/temp/logfile.log"/>
>           <map:parameter name="append" value="no"/>
>         </map:transform>
> 
>         <map:serialize type="html"/>
>         <map:call resource="skinit">
>           <map:parameter name="type" value="document2html"/>
>           <map:parameter name="path" value="{1}{2}.html"/>
>           <map:parameter name="notoc" value="false"/>
>         </map:call>
>       </map:match>
>     </map:pipeline>

The <map:serialize> is the end of the pipeline. Try moving it
to after the <map:call>

--David

Mime
View raw message