cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: A TemplateTransformer
Date Tue, 10 Jul 2001 20:21:22 GMT
Scott_Boag@lotus.com wrote:

> Here is a valid XSLT stylesheet:
> 
> <html xmlns:template="http://www.w3.org/1999/XSL/Transform"
> template:version="1.0">
>   <head>
>     <title><template:value-of select="title"/></title>
>   </head>
>   <body>
>     <h1><template:value-of select="title"/></h1>
>     <table>
>      <tr>
>       <td><template:value-of select="menu"/></td>
>       <td><template:value-of select="body"/></td>
>      </tr>
>     </table>
>   <body>
> </html>
> 
> I don't think this is much more complicated than your example, and it
> scales to the complexity that you need.  I don't see the point of inventing
> yet another template language.

So how does it work in the Cocoon pipeline?

If I have an arbitrary SAX pipeline coming into this, does it automatically
handle everything correctly?

BTW, the value-of statements, do they map to the document XPATH?
Mime
View raw message