cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: html templates - best practise
Date Fri, 03 Oct 2003 14:26:52 GMT
Derek Hohls wrote:

> This is all true; but a stylesheet is still a stylesheet,
> and it seems that the original poster wanted to be
> able to use something very close to template-type
> HTML so that the page desigers would not have to
> do anything related to XML and XSL... maybe XHTML
> and <include> statements are the way to go??

The mentioned approaches use XHTML templates with some
markup to include dynamic parts. The page designers see
nothing but XHTML. The stylesheet is only used to apply
the template.

Andreas

>  
> Derek
> 
>  >>> andreas@apache.org 03/10/2003 02:58:02 >>>
> Bertrand Delacretaz wrote:
> 
>  > Le Vendredi, 3 oct 2003, à 14:41 Europe/Zurich, Derek Hohls a écrit :
>  >
>  >> ...My feeling is that use of Cocoon must change some aspects
>  >> of how you work... if you do not want to change, then maybe
>  >> stick to JSP or other template-type systems?...
>  >
>  > I didn't follow the beginning of this discussion, but wouldn't a
>  > technique like the "style-free XSLT" presented in
>  > _http://www.xml.com/lpt/a/2000/07/26/xslt/xsltstyle.html_ allow one to
>  > work with "visible" HTML templates, even if doing the transformations in
>  > XSLT?
>  >
>  > I haven't used this yet but the idea looks really interesting.
> 
> Actually, it is extremely useful. Some Lenya publications are using
> it, and the major benefit is the separation of real XHTML layout
> and presentation logic. The XSLTs become more readable and maintenance
> is simplified. The cocooncenter article I mentioned in my previous
> mail to this thread is based on exactly this xml.com article.
> 
> Andreas
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: _users-unsubscribe@cocoon.apache.org 
> <mailto:users-unsubscribe@cocoon.apache.org>_
> For additional commands, e-mail: _users-help@cocoon.apache.org 
> <mailto:users-help@cocoon.apache.org>_
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
> Mailscanner thanks transtec Computers <http://www.transtec.co.uk/> for 
> their support.



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


Mime
View raw message