on 6/19/03 8:23 AM Peter Royal wrote: > On Wednesday, June 18, 2003, at 05:53 PM, Pier Fumagalli wrote: > >>Unless I'm not mistaken, the above example template is _NOT_ a well >>formed >>XML document! :-) :-) > > > Of course! I guess it was more of a, "why (nearly) re-invent the > wheel".. But obviously it was to escape the XML syntax :)
Yes. remember when I made a pretty long list of all the template technologies with respect to SAX pipelines? the result was that the closest to optimal was a reduced set of XSLT but without XML verbosity. Well, this is exactly what Pier is doing: the perfect template language for cocoon. SAX emitting (thus better than Velocity for us), simple iterative and variable expansion constructs (thus better than XSLT which adds a bunch of things), code syntax (reduced verbosity and markup orthogonalization), focused on one thing (thus possible to optimize and cache). I welcome this effort with great happyness. -- Stefano.