Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 32371 invoked from network); 10 May 2000 12:39:38 -0000 Received: from ux1.gusd.holding.gu.se (130.241.22.80) by locus.apache.org with SMTP; 10 May 2000 12:39:38 -0000 Received: from ux1.gusd.holding.gu.se (ux1.gusd.holding.gu.se [130.241.22.80]) by ux1.gusd.holding.gu.se (8.9.3/8.9.3) with ESMTP id OAA29640 for ; Wed, 10 May 2000 14:48:02 +0200 (MET DST) Date: Wed, 10 May 2000 14:48:01 +0200 (MET DST) From: Daniel Ridings X-Sender: ridings@ux1.gusd.holding.gu.se Reply-To: ridings@holding.gu.se To: cocoon-users@xml.apache.org Subject: dynamic production of XML Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N After tearing out my hair: We get Cocoon to work with static files, no problem (but have little use of static files). We have a servlet that produces XML and can get Explorer 5 to process with XSL, but not Cocoon. Well, we simply can't understand Cocoon and we're not even really certain we have found the documentation, if there is any. I've studied CocoonFromServlet.java. Ok, that creates a String document and we use the Java libs to produce XML, but it's XML. So I started wondering about: CocoonServletRequest myReq = new CocoonServletRequest(document, req); Ok, document here is a string, put a PrintWriter is what we get by using the Sun package. I tried my best to find anything on CocoonServletRequest in the API docs that came along with Cocoon but nothing's there. import org.apache.cocoon.util.CocoonServletRequest (from the example file) doesn't work either. The documentation makes no mention of a path: org.apache.cocoon.util So the bottom line. XML works wonderfully with Explorer 5 (http://www.lexilogik.com/~sofia/conc.html) but it would be nice to present some of our work even for Netscape users. Cocoon should be a perfect match here but it is definitely frustrating. The servlet we have: is it what one would call a "producer"? The terminology hasn't ripened in my mind yet. Thanks for any direction or gentle scoldings here. Daniel Ridings LexiLogik AB Erik Dahlbergsgatan 11b 6tr 411 26 G�teborg, Sweden Tel: 031 773 47 99 Fax: 070 610 46 18