In the cocoon environment, XSP provides a great
way of address problems that don't fit into 
the paradigm of an existing generator.

However, XSP can only be used at the first
step in a pipeline.

I find myself writing lots of custom transformers
to address issues that don't fit into any 
of the existing standard generators.

Would there be a way to write an XSP Transformer?
How about we call this "XST" for now.  Some of
it's characteristics would be:

o  A conventional transformer class would exits.
o  In a pipeline, one would specify the above 
     transformer and a particular xst file.
o  The xst file would be compile automatically
     when needed.
o  A basic internal design would simply allow
     hooks to the various SAX events (i.e. start and
     end of element and document).
o  Output events could be nicely written as in xsp
     like "<yada><xst:expr>string</xst:expr></yada>"
o  Perhaps a more a more interesting internal
     model would come with a stack to facilitate
     more complex processing.

Steve Punte
Candlelight Software

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to