Dear community

I have a story, a solution and a question ... I would be very happy to hear
from any experiences ... thx

The story:
I got the job to reengineer an XML application that used XSL and HTML
respectively FO in the same file. Because of this the application could not
be changed by a Web-Designer, and every custom and/or language specific
implementation brought the duplication of all the code (XSL plus HTML/FO)
with it.

The solution:
I looked at Cocoon, I was excited and I found many statements/concepts that
I was looking for. But I did not find a solution or the right how to. And
the beginning with Cocoon is very hard ... especially for somebody like me
that knows some programming languages but nearly nothing on Java. I stucked
for a long time until I finally found two articles in the Web that brought
me on the right way (google for: "Style-free XSLT Style Sheet" and "Template
Languages in XSLT"). Finally I have implemented my own application specific
template language that separates XSLT from (X)HTML/FO. The XML templates
(i.e. XHTML or FO) use $Vars for the value bindings and <my:tags/> for logic
steering. Now this (X)HTML templates can be edited with a WYSIWYG-Editor
like Dreamweaver.

The question:
Now I'm looking again to Cocoon, and I will learn to use it for my future
developments. In the mean time I have written some XSP-Pages and combined
them with above described XSLT template solution. This solution works fine
if all the data is in the XML stream. But now I'm asking myself, if Velocity
or another template language would be better. Especially if beside the XML
data there is also some information stored in the session that must be
processed.

Any tips, tutorials or google keywords will be very appreciated - and if
you, dear ultimate supporter, should be in Italy/Lecce next summer, a great
sea food meal with some bottles of wine will guaranteed.

Raffaele Merico
LESS Informatik AG
B�hnirainstrasse 14
CH-8800 Thalwil

Tel: +41 1 723 12 22
Dir: +41 1 723 92 45
Fax: +41 1 723 12 23

mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to