cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: A TemplateTransformer
Date Tue, 10 Jul 2001 21:45:12 GMT
Berin,

This is a Valid XSL file using a simplified Syntax. Just use it with the TRaXTransformer :)

Take a look at this URLs:
http://www.w3.org/TR/xslt#data-example
http://www.w3.org/TR/xslt#result-element-stylesheet

Thanks,
dims

--- Berin Loritsch <bloritsch@apache.org> wrote:
> 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?

> ATTACHMENT part 2 application/x-pkcs7-signature name=smime.p7s



=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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


Mime
View raw message