cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Engelhart <mengelh...@earthtrip.com>
Subject Re: Specifying an XSL in a Cocoon Request
Date Wed, 26 Apr 2000 15:15:07 GMT
Lee Burgess wrote:

> For example, what if I don't want to use XSP; that is, I don't want
> that kind of logic in my XML?
> 
> A custom Producer seems the way to go, but that is a pain because one
> essentially has to add an extra layer of file parsing and/or object
> instantiation just to set the xml-stylesheet PI in the XML before it
> gets sent off to the Processor.  The XML basically ends up getting
> parsed twice: once in the custom Producer and then again in the course
> of normal cocoon processing.
Lee,

An XSP is a custom producer. It's just that it gets compiled from an XSP
page on it's first run (ala JSP).

Mike


Mime
View raw message