Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 66704 invoked by uid 500); 28 Mar 2001 11:12:57 -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 66672 invoked from network); 28 Mar 2001 11:12:55 -0000 To: cocoon-users@xml.apache.org Subject: Re: content logic and display Message-ID: <985777975.3ac1c7376d5c1@mail.otego.com> Date: Wed, 28 Mar 2001 13:12:55 +0200 (CEST) From: Giacomo Pati References: <002401c0b76f$86f5ea50$399e238d@silke> In-Reply-To: <002401c0b76f$86f5ea50$399e238d@silke> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.4 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Quoting Sandeep N Kundu : > Hello All, > > I understand that Cocoon can separate content from display ( xml and XSL > ). > What about Logic...so far I have seen examples which embedd logic in the > XML file. How do we separate logic..can we store our logic in a file > called .xsp?? if yes then how do we link it to the source xml file? > > Any suggestions Your logic is separated into logicsheets which are separate files using XSL syntax to transform your original xml document into an xsp document. That's it. It lead to the following picture: your-xml-content --> XSP-Generator --> Transformer --> client A A your-logicsheet-A --+ +-- your-stylesheet your-logicsheet-B --+ Giacomo --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: