Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 6411 invoked by uid 500); 25 Apr 2002 14:56:07 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 6398 invoked from network); 25 Apr 2002 14:56:06 -0000 Message-ID: <3CC8190A.2010109@apache.org> Date: Thu, 25 Apr 2002 10:56:10 -0400 From: Berin Loritsch User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc1) Gecko/20020417 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Serving static XML files a la Cocoon-1 References: <200204251456.PAA04495@imbolc.ucc.ie> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Peter Flynn wrote: >>Of course you don't have to put an entry for each new doc : > > > That is not at all obvious from the doc. > > >>you simpl= >>y=20 >>need the most common C2 pipeline: >> >> >> >> >> >> >> >>This pipeline will process all the .xml files on your server. Does it= >>=20 >>match your needs? > > > Very close, except that all the XML files already identify their > stylesheet in an xml-stylesheet PI, so Cocoon would need to honor > this. Not necessarily. PIs are nice, but they are not standard accross all files. One thing that PIs don't allow is to easily retheme the entire site without changing the existing template. Assuming you want to change the XSLT from "oldsite.xsl" to "newsite.xsl" and still keep the old XSL file for archives--or to switch back to it. PIs force you to place the information for "oldsite.xsl" in every XML file. If you forget to change one file, it will stick out like a sore thumb. The new way allows you to change all files in one place. If you have a chain of XSLT transformations--you can easily apply it and *KNOW* the chain. You don't have to generate PIs in subsequent XSLT layers. -- "They that give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: