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 9611 invoked from network); 25 May 2000 14:29:01 -0000 Received: from mta5.rcsntx.swbell.net (151.164.30.29) by locus.apache.org with SMTP; 25 May 2000 14:29:01 -0000 Received: from [209.184.0.235] by mta5.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FV400ECKDIE4M@mta5.rcsntx.swbell.net> for cocoon-dev@xml.apache.org; Thu, 25 May 2000 09:27:52 -0500 (CDT) Date: Thu, 25 May 2000 09:27:57 -0500 From: Mike Engelhart Subject: XSP confusion To: Cocoon Dev Message-id: MIME-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi all - Ricardo's announcement that the XSP engine in Cocoon 2 is DOM based while the rest of Cocoon 2 is SAX based has left me with some design questions. I was planning on making all the code in my application use XML directly (either DOM or SAX depending on what Cocoon 2 was going to use which I assumed was SAX) rather than using XSP to generate the XML from existing Java objects (e.g., iterating through a ResultSet or ArrayList, etc). It seems from a performance standpoint, SAX is the way for me to go but does this mean that I have to generate DOM objects every time I want to put an XML element or fragment into an XSP dynamically? Any thoughts??