forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: Multiple html pages from single xml?
Date Wed, 03 Jan 2007 10:34:14 GMT
Gunther Sablon wrote:
> Hi
> Yes there is.
> In the sitemap you can define multiple pipelines, each with a different 
> pattern (indicating the URL to be used to retrieve the page)
>              <map:match pattern="......xml">
> but with the same file generator (indicating the file to be used)
>                 <map:generate type="file" src="......xml"/>
> Typically a different transformation generates different content from 
> the same source file.
> Gunther

That is certainly true, but it may not be the best way to address 
Vassilis' issue. It may be better to use the locationmap to resolve the 
stylesheet and therefore only have a single generator. We need to know 
more about the use case to evaluate which is the best approach.

Ross

> 
> 
> Vassilis Koutavas wrote:
>> Is there a way to make Forrest produce more than one html pages from
>> one xml file? I'm sure that there should be a way, but I can't figure
>> it out by the documentation.
>>
>> Thanks,
> 
> 


Mime
View raw message