cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: Example for a "transforming" generator
Date Fri, 06 May 2005 18:49:44 GMT
Why do you insist on doing this in a generator ? Give a bit more 
detailed information about your usecase, there usually is more than one 
way to do things ...

Jorg

Thomas Coboos wrote:
> Hello,
> 
> I need to write my own generator which reads a xml file and reacts on some
> special elements which can occur in this xml. I know how to write the
> generator but my problem is, I don't know how to pass the events back to the
> generator so it can retrieve the events read before and act on the special
> elements. A generator which covers some of my requirements is the
> JXTemplateTransformer but sorry I don't can walk thru this bunch of code (I
> simply don't understand it) :)
> 
> Do you have a simple example or a hint for me how I can make a Generator
> "transformable".
> 
> Thank you a lot.
> 
> Regards
> Stephan  
> 
> 


Mime
View raw message