forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: Reusing legacy HTML (was Re: Two questions)
Date Wed, 16 Feb 2005 09:30:55 GMT
Ross Gardler wrote:
> I think what you are trying to do is this:
> 
>      <map:match pattern="mybad.xml">
>        <map:generate src="cocoon:/mybad.html" type="html"/>
> <!-- removed log stuff, see beow -->
>        <map:transform src="..."/>
>           <map:transform src="{forrest:stylesheets}/html2document.xsl" />
>           <map:transform type="idgen" />
>        <map:serialize type="xml"/>
>      </map:match>
> 


There is a small, but important error in this. The generate element 
should be:

<map:generate src="<project:content.xdocs}/mybad.html" type="html"/>

Ross

Mime
View raw message