cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex McLintock <>
Subject Combining XSP files in Cocoon2
Date Mon, 11 Mar 2002 10:47:34 GMT
Can you merge multiple XSP files in Cocoon 2 into one page?

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:pipeline internal-only="true">
<map:match pattern="one">
<map:generate src="docs/one.xml"/>
<map:serialize type="xml"/>
<map:match pattern="two">
<map:generate src="docs/two.xml"/>
<map:serialize type="xml"/>
<map:match pattern="desc.html">
<map:aggregate element="newRootElement">
<map:part src="cocoon:/one" element="firstXMLfile"/>
<map:part src="cocoon:/two" element="secondXMLfile"/>
<map:transform src="stylesheets/merge2html.xsl"/>
<map:serialize type="html"/>

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 
"firstXMLfile", and "secondXMLfile")

Alex Mc

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message