cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: FormsGenerator vs FormsTransformer
Date Thu, 25 Nov 2004 18:41:01 GMT
Peter Hunsberger wrote:

>On Wed, 24 Nov 2004 23:57:13 +0100, Sylvain Wallez <> wrote:
>>[catching up the list - guys, you were so verbose lately !]
>>Reinhard Poetz wrote:
>>>Just wondering why in the examples always the FormsTransformer is used
>>>although the use of the FormsGenerator is possible. Does this have a
>>>special reason?


>>Ah, and the FormGenerator can also be used for some webservice-style
>>clients where no layout is needed.
>The way we attack this is to aggregate the output of two generators:
>one creates the object model and the other creates the layout model. 
>Conceptually, a XSLT then walks the object model and annotates it with
>the layout data.  A second XSLT then takes the combined model and
>pumps out the actual xhtml (or whatever). In some cases  this simply
>means adding class attributes since much of our actual styling is left
>to CSS, but in other cases we do create gobs of xhtml...

Looks complex, but you certainly have good reasons for it. So could you 
elaborate on this and give some examples of what the layout model and 
the annotated model look like?


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }

View raw message