Thank you, but now my xsp pages get recompiled to Java every time. Probably it is the issue of xinclude. Can anyone help me how to tell cocoon not to recompile some_page.xsp every time I acces the page? Does it exist any explicit mechanism how to cache the output of the pipeline?
I am using this xsp preprocesing pipeline: <map:match pattern="some_page.xsp"> <map:generate src="some_file.xml"/> <map:transform type="xinclude"/> <map:serialize type="xml"/> </map:match> <map:match pattern="some_page.html"> <map:generate src="cocoon:/some_page.xsp" type="serverpages"/> <map:transform src="some_other_stylesheet.xsl"/> <map:serialize type="xml"/> </map:match> Cocoon 2.0.3. Thanks for help. Michal > -----Original Message----- > From: Timothy Larson [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 16, 2002 5:18 PM > To: [EMAIL PROTECTED] > Subject: Re: Source aggregation by XInclude > > > You can use the "cocoon:/" protocol to do this: > > <map:match pattern="some_page.xsp"> > <map:generate src="some_file.xml"/> > <map:transform src="some_stylesheet.xsl"/> > <map:serialize type="xml"/> > </map:match> > > <map:match pattern="some_page.html"> > <map:generate src="cocoon:/some_page.xsp" type="serverpages"/> > <map:transform src="some_other_stylesheet.xsl"/> > <map:serialize type="xml"/> > </map:match> > > You may run into problems with the java code generated from the XSP > not always updating immediately when you make changes to the XSP page. > It seems like the timestamp only has one minute resolution. YMMV. > > Tim > > >>> [EMAIL PROTECTED] 12/16/02 10:57AM >>> > Hello, > In Cocoon 1.8 we used xinclude for aggregation of our xsp sources. > > Now in C2, xsp is generator and xinclude is transformer, > therefore xinclude > cannot precede xsp to prepare sources for it. > > Is there any working technique how to compose sources for xsp > generator from > more than one file? > > Michal > > -- MisoD -- > Michal Durdina - [EMAIL PROTECTED] > ASSET Soft a.s., > Kosicka 56, Bratislava, 821 08 > Slovakia, Europe > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.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/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > __________ Informacia od NOD32 1.335 (20021211) __________ > > Tato sprava bola preverena systemom NOD32 pre Exchange. > http://www.eset.sk > > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>