cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <scher...@gmail.com>
Subject Re: [c3] Implementing presentation logic in c3
Date Sat, 29 Oct 2011 16:35:00 GMT
On Sat, 2011-10-29 at 16:39 +0200, Francesco Chicchiriccò wrote:
> On 28/10/2011 12:58, Thorsten Scherler wrote:
> > [...]
> > I patched only the transformer, here my observation:
> > - the attribute approach works fine.
> > - the second one cuts of element generation from that point on.
> >
> > it is a start. ;)
> 
> I've just committed an update to StringTemplateTransformer, now using 
> StringTemplateGenerator's commodities - i.e. taking the whole document 
> as input: as said before, this was the same approach taken for JX 
> generator / transformer; moreover, ST requires a plain String as input 
> and does not provide any SAX-related features for rendering.
> This means that everything managed by StringTemplateGenerator is now 
> managed in the same way by StringTemplateTransformer (including XML 
> attributes, working in both).
> 

Nice. I will give it a go ASAP.

slu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


Mime
View raw message