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 22518 invoked from network); 2 May 2000 09:42:15 -0000 Received: from f96.law4.hotmail.com (HELO hotmail.com) (216.33.149.96) by locus.apache.org with SMTP; 2 May 2000 09:42:15 -0000 Received: (qmail 62361 invoked by uid 0); 2 May 2000 07:55:10 -0000 Message-ID: <20000502075510.62360.qmail@hotmail.com> Received: from 148.88.17.28 by www.hotmail.com with HTTP; Tue, 02 May 2000 00:55:10 PDT X-Originating-IP: [148.88.17.28] From: "Robin Green" To: cocoon-dev@xml.apache.org Subject: Re: cvs commit: xml-cocoon/xdocs faq.xml Date: Tue, 02 May 2000 08:55:10 BST Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Sorry to be picky, but this really makes it sound like the PI should be put in the stylesheet. I rewrite it below (and also correct grammar bugs). stefano@locus.apache.org wrote: > + > + why xsl:output doesn't work? > + > +

The Cocoon project doesn't implement the xsl:output >feature for XSLT > + because we believe it breaks the separation of concerns and doesn't >match the > + internal Cocoon architecture.

> +

On the other hand, we do understand the importance for a >stylesheet to > + specify how the content should be presented to the requesting client, >for this > + reason, Cocoon uses the cocoon-format processing >instruction to > + tell the engine which formatter to use to format the transformation >output. > + So, by placing:

> + ]]> > +

you indicate the page containing this processing instruction >should be > + encoded and sent using the formatting properties contained in your >cocoon.properties > + file, associated to the type text/html/loose. Please, >look at the > + configuration file to know more about the formatting parameters >available.

> +
> +
> + > + + + Why doesn't xsl:output work? + +

The Cocoon project doesn't implement the xsl:output feature for XSLT + because we believe it breaks the separation of concerns and doesn't match the + internal Cocoon architecture.

+

On the other hand, we do understand the importance of + specifying how the content should be presented to the requesting client. For this + reason, Cocoon uses the cocoon-format processing instruction to + tell the engine which formatter to use to format the transformation output. + So, by placing:

+ ]] +

in the source document (rather than the stylesheet), you indicate the page containing this processing instruction should be + encoded and sent using the formatting properties contained in your cocoon.properties + file, associated to the type text/html/loose. Please look at the + configuration file to find out more about the formatting parameters available.

+
+
+ + -- Robin 270+ Open Source Java links! http://directory.mozilla.org/Computers/Programming/Languages/Java/Open_Source/ ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com