My approach is similar to the one below. I have a content layer which
somehow aggregates data (sql, xinclude, ..) and use XSLT to generate a
view on that data (if necessary).  This view only asserts that relating
data becomes a set of a common parent node and structures as lists are
represented in the output tree (e.g. as a set of childs).

In a next step I process the structured content using a generic skin layer
which provides different views on text fragements, or lists, for example.

The skin layer bases on the presentation/content separation technique
outlined in an article which someone posted to this list a while ago.
(http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html)


Jens

On Sun, 27 May 2001, Berin Loritsch wrote:

> I actually have multiple presentation layers.  IOW, I take my
> site markup, and transform it into a layout (either using C2's
> aggregation, or XSLT), and from there I use the final "skin".
>
> The biggest thing for me is that I need to be able to restructure
> the visible components of my site in just a small number of files.


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to