cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@apache.org>
Subject [RT] Virtual components and JXTemplate
Date Tue, 07 Oct 2003 08:46:42 GMT
Just another thought,

I noticed that the JXTemplateGenerator/Transformer implements both
contracts: generator and transformer. It should be easier to
implements this component as transformer, and offer this transformer
also as virtual generator.

<map:transformer type="jx"/>

and

<map:virtual>
 <map:generator name="jx">
  <map:generator name="file" src="{@src}"/>
  <map:transformer name="jx"/>
 </map:generator>
</map:virtual>

I should mention that I already rewrote the this components to be a
transformer only, but only for the xpath syntax. If thers is any
interest I could commit it.

My 2 cents, Stephan.

_______________________________________________________________________
         Stephan Michels               EMail: stephan@apache.org
         ICQ: 115535699                Tel: +49-030-314-21583
----+----|----+----|----+----|----+----|----+----|----+----|----+----|-|


Mime
View raw message