...or you can build up the different pieces using pipelines, later aggregated (using map:aggregate) and finally rendered in HTML using your favorite "skin" (an XML-to-HTML stylesheet).
Well, in my opinion, XSP is not that different from JSP (though, inherenthly better). If I were you, I'd try to make a prototype of my app without using XSP, just to see the potential (and limits) of "pure" XML/XSL. Best regards, --------------------------------------------- Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html --------------------------------------------- > -----Original Message----- > From: Conal Tuohy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 05, 2002 10:53 PM > To: Cocoon Users > Subject: RE: Some Design Help, please > > > You can do this kind of conditional include in Cocoon quite easily. In an > xsl script you can use xsl:if to conditionally produce xinclude references > to your other xml documents (toolbar, header, etc). Then your pipeline can > use the xinclude transformer to process these "include" elements and > actually include the referenced documents together into a single document. > > -----Original Message----- > From: Sreedhar Chintalapaty [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 6 March 2002 09:39 > To: Cocoon Users > Subject: Some Design Help, please > > > Hi, > > I am an absolute newbie to Cocoon. Being from a JSP background, I suspect > there are some fundamental differences in the way a database > driven web site > is designed for Cocoon (with XSP/XML/XSL). > > Let's say the users enter the site by the way of "index". This page draws > its content from several other component pages, namely header, majorTabs, > toolBar and contentPage. The requirement is: The active majorTab must be > highlighted, each majorTab has a different toolBar associated with it, and > the contentPage can be either a static XML file or a database > search results > page. > > In the JSP world, I would create an index.jsp page that took in a bunch of > request parameters like 'toolBarName', etc., and dynamically > include the jsp > components specified therein. > > How would I do something like that in Cocoon? Can one XSP page dynamically > include other XSP pages? I would appreciate -any- examples/sample code! > > > Best Regards, > > Sreedhar Chintalapaty > Consultant, > PTC - 140 Kendrick St., Needham MA 02494 > __________________________________________________________________ > __________ > ______________ > A computer is like an Old Testament god, with a lot of rules and > no mercy - > Joseph Campbell > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>