Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 17105 invoked by uid 500); 9 Sep 2002 10:22:13 -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 16894 invoked from network); 9 Sep 2002 10:22:11 -0000 Message-ID: <3D7C765F.1020105@outerthought.org> Date: Mon, 09 Sep 2002 12:22:23 +0200 From: Steven Noels Organization: Outerthought User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org CC: cocoon-dev@xml.apache.org Subject: Re: Stylesheet selection by doctype? References: 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 Steven Noels wrote: >>> Ben Young wrote: >>>>Is it possible to set up a sitemap that will select a different >>>>stylesheet >>>>according to the XML Schema or doctype used in the content file? > It is already done, I'll commit it on Monday or when the kids allow during > the weekend ;-) Done. Kudos to for implementing this. http://outerthought.net/forrest/cap.html http://cvs.apache.org/viewcvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/components/sourcetype/ ps: it requires the addition of nekopull.jar to your Cocoon classpath! (http://www.apache.org/~andyc/neko/doc/pull/) -- Steven Noels http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center stevenn@outerthought.org stevenn@apache.org --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: