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 27764 invoked from network); 8 Feb 2000 21:50:46 -0000 Received: from unknown (HELO titan.exoffice.com) (root@207.33.160.98) by locus.apache.org with SMTP; 8 Feb 2000 21:50:46 -0000 Received: from exoffice.com (fwin.exoffice.com [207.33.160.97]) by titan.exoffice.com (8.9.3/8.9.3) with ESMTP id OAA08830; Tue, 8 Feb 2000 14:43:34 -0800 Message-ID: <38A08FCD.20E2029F@exoffice.com> Date: Tue, 08 Feb 2000 13:51:09 -0800 From: Keith Visco X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org CC: Scott Boag/CAM/Lotus Subject: Re: disable-output-escaping References: <38A08642.2D12662F@exoffice.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Assaf Arkin wrote: > > > BTW, while I'm looking at the Cocoon code, the way Cocoon is currently set > > up, I don't see how any of the xsl:output options are supported. But I > > could be misreading the code? > > Not supported as far as I know. We've been running into many issues with > encoding, etc. But Pier is in the office next to me, so I'll twist his > arm until he supports it :-) > Stefano...the Transformer API needs some changes... With the current API, the stylesheet is passed as a DOM Document to the Transformer. It's up to the Transformer to re-parse this Document into the internal stylesheet. It would be better to pass in the URI and the let the XSLT processor read in the stylesheet, which will be less overhead since the XSLT processor can read directly into it's internal object model, instead of Cocoon reading into the DOM and then the processor breaking down the DOM. Also, the result is a Document, so all the xsl:output options, as Scott and Assaf are discussing above are lost. If no more processing is to be done inside of cocoon, then Cocoon should call a #process method with the output stream or writer so that the XSLT processor can handle the appropriate output formatting. We also need a way to get top-level parameters initialized from FORM variables or the QUERY string, though this may already be in place and I am simply overlooking something. --Keith