cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: A TemplateTransformer
Date Tue, 10 Jul 2001 17:57:07 GMT

Berin Loritsch <> wrote:
> <html>
>   <head>
>     <title><template:title/></title>

Note that this is not valid XML, as the template namespace is not declared.
So I wonder if this is not a bit over simplified?

Here is a valid XSLT stylesheet:

<html xmlns:template=""
    <title><template:value-of select="title"/></title>
    <h1><template:value-of select="title"/></h1>
      <td><template:value-of select="menu"/></td>
      <td><template:value-of select="body"/></td>

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.


To unsubscribe, e-mail:
For additional commands, email:

View raw message