forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: [RT] plugin infrastructure
Date Thu, 04 Nov 2004 01:09:13 GMT
Nicola Ken Barozzi wrote:
> Isn't this ok?
> 
> <map:match pattern="**.xml">
>       <map:act type="sourcetype" src="{1}.xml">
>         <map:select type="parameter">
>           <map:parameter name="parameter-selector-test"
>                          value="{sourcetype}" />
>                <map:when test="DTD_public_ID">
>                 <map:generate src="content/xdocs/{1}.xml" />
>                   ...
>                 <map:serialize type="xml" />
>                </map:when>
>         </map:select>
>     </map:act>
> </map:match>
> 

Duh!!!

I've been working too hard lately, obviously. The plugin already uses 
the sourcetype selector to do the transformation, but I have the 
generation outside of it.

Thanks for showing me the light before I wrote a completely unnecessary 
Cocoon component.

Ross

Mime
View raw message