Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 60789 invoked from network); 26 Jan 2000 13:50:07 -0000 Received: from lotus2.lotus.com (192.233.136.8) by 63.211.145.10 with SMTP; 26 Jan 2000 13:50:07 -0000 Received: from internet2.lotus.com (internet2 [9.95.4.236]) by lotus2.lotus.com (8.9.3/8.9.3) with ESMTP id JAA01125; Wed, 26 Jan 2000 09:04:55 -0500 (EST) Received: from a3mail.lotus.com (A3MAIL.lotus.com [9.95.5.66]) by internet2.lotus.com (8.9.3/8.9.3) with ESMTP id IAA24218; Wed, 26 Jan 2000 08:49:35 -0500 (EST) Subject: Re: XSLT/XSP Unification? To: xalan-dev@xml.apache.org Cc: cocoon-dev@xml.apache.org X-Mailer: Lotus Notes Release 5.0 March 30, 1999 From: "Scott Boag/CAM/Lotus" Date: Wed, 26 Jan 2000 08:47:08 -0500 Message-ID: X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Build V503_01122000 |January 12, 2000) at 01/26/2000 08:50:27 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Stefano Mazzocchi wrote: > Maybe I totally fail to understand what you mean by "xslt compilation". > Could you explain that further? Well, I often speak of stylesheet compilation as what Xalan does, which is compiling the stylesheet into an intermediary structure optimized for transformation execution. But my understanding is SAXON is able to run the stylesheet through a special stylesheet that transforms the XSLT to a java class, similar I think to what you do with XSP pages. I have not looked at his implementation, but I assume you build each template into a method that would execute the literal result elements in some optimized way, and execute the XSLT instructions and extensions by pretty much doing what the XSLT processor does now. I don't think this is hard to do, and would probably require minimal code changes to the Xalan base. (If some enterprising soul wants to give this a try, I would be glad to work with you...). Anyhow, what you would end up with is a Java object that you could simply execute. -scott