Peter Hunsberger wrote:

On Wed, 24 Nov 2004 23:57:13 +0100, Sylvain Wallez <[EMAIL PROTECTED]> 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?



<snip/>

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?


Thanks,
Sylvain


-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



Reply via email to