cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [Ann/RFC] Virtual Sitemap Components
Date Mon, 11 Apr 2005 15:51:08 GMT
Vadim Gritsenko wrote:
> Sylvain Wallez wrote:
> 
>> Daniel Fagerstrom wrote:
>>
>>>     <map:transformers default="xslt">
>>>       <map:transformer name="virtual2" 
>>> src="org.apache.cocoon.transformation.VirtualPipelineTransformer">
>>>         <map:source param="src2"/>
>>>         <map:transform src="vpc-include.xsl">
>>>            <map:parameter name="file" value="{src}"/>
>>>         </map:transform>
>>>         <map:transform src="vpc-include.xsl">
>>>            <map:parameter name="file" value="{src2}"/>
>>>         </map:transform>
>>>       </map:transformer>
>>>     </map:transformers>
>>>   </map:components>
>>
>>
>>
>> It seems weird to me to see sitemap statements in the <map:components> 
>> section. But they're also used as any other component. Hmm...
>>
>> What about either:
>> - leave them in <map:components> but with special element names, e.g. 
>> <map:virtual-generator> that maps to the VirtualPipelineGenerator class
> 
> 
> It can be
>   <map:components>
>     <map:generators>
>       <map:virtual name="a">
> 
> That's enough information to build it.

I still like the way we agreed in the past and Daniel implemented, the 
fact that a generator is a java class or is a subpipeline should not 
make any difference in the semantics.

-- 
Stefano.


Mime
View raw message