> From: Alex McLintock [mailto:[EMAIL PROTECTED]] > > Can you merge multiple XSP files in Cocoon 2 into one page?
Ahem... After reading all this... Are you sure you want to merge *sources* of XSP pages, and not *results*??? Vadim > I basically want to produce a single PDF with each page from the website > appearing in it. > > The FAQ says I can try this > > <map:pipelines> > <map:pipeline internal-only="true"> > <map:match pattern="one"> > <map:generate src="docs/one.xml"/> > <map:serialize type="xml"/> > </map:match> > <map:match pattern="two"> > <map:generate src="docs/two.xml"/> > <map:serialize type="xml"/> > </map:match> > </map:pipeline> > <map:pipeline> > <map:match pattern="desc.html"> > <map:aggregate element="newRootElement"> > <map:part src="cocoon:/one" element="firstXMLfile"/> > <map:part src="cocoon:/two" element="secondXMLfile"/> > </map:aggregate> > <map:transform src="stylesheets/merge2html.xsl"/> > <map:serialize type="html"/> > </map:match> > </map:pipeline> > </map:pipelines> > > > Now my problem is that I can't seem to combine two xsp files into one valid > xsp file. > > Are there special tags I can use to achieve this? (ie replacements for > "newRootElement", > "firstXMLfile", and "secondXMLfile") > > Alex Mc > --------------------------------------------------------------------- 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]>