Guy McArthur wrote:
It would be nifty to use xsl to create a stream of content as xml (and a
second layer for presentation). What I don't know is if there are any
good, simple solutions out there to make this easy.
The content xsl would use xpath to access the $session, $cookies, $request
parameters, http $headers and so on. It would use xpath instead of sql to
fetch data from a data store $connection. A servlet controller would
probably be the layer under that to make the magic happen. Out would come
a stream of xml content to be passed onto presentation formatting
stylesheets.
Hopefully, all these layers could be compiled into one for
efficiency.
Is it possible? Good, bad, or ugly?
Take a look at Apache Cocoon http://xml.apache.org/cocoon.
--
Oleg Tkachenko
Multiconn Technologies, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list