cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Spinetti" <m.spine...@pisa.iol.it>
Subject Re: [C2] beginner questions
Date Mon, 14 May 2001 08:50:56 GMT
Hi all,
I have done such a thing with Cocoon 1.8.2. My applications take its datas
by the relative ones databases, do the relative calculations and the result
is a XML document. This document is in a format independent from the
application and from he media that has required the service. Then if the
media that has required the service is a phone or a Palm, I apply an
intermediate Stylesheet to decrease the informative content of the Xml
document and therefore apply a Xsl for the rendering. Otherwise I apply soon
a Xsl for the rendering.
The interesting thing is that my Xsl for the rendering in Wml is independent
from the service: therefore it is always the itself one.
Marco
+---------------------------------------------------------------+
Data processing engineer  Spinetti Marco
Italia On Line S.p.a. - Infostrada
Italy
+-----------------------------------------------------------------+

----- Original Message -----
From: <skolski@dcsimtech.com>
To: <cocoon-users@xml.apache.org>
Sent: Monday, May 14, 2001 11:26 AM
Subject: Re: [C2] beginner questions


> Hello,
>
> my experience with XML and Stylesheets showed me, that reusability of
> stylesheets has a high price. Of course you can build a stylesheet that
can
> build all your webpages from an intermediate format. But in this case you
> regularly only mask the normal html commands. You will surely define a
> table with rows and cols in your intermediate language, won't you?
>
> But in this case you, or let me say, I did always when I tried something
> like that, mix up content and style. As far as I remember the starting
> point of all that nice things was to keep content and style separate. And
> if you define really logical elements (picture or table are not!) you will
> have big difficulties to generalise your stylesheets far enough to make
> them useable for _every_ page in your project.
>
> So, I'm really interested in what you are doing and where you make the
> compromises,
>
> Sascha Kolski
>
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message