cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zach rappaport" <>
Subject newbie question: aggregation?
Date Mon, 22 Jul 2002 21:35:56 GMT
Hello -

I am working on Cocoon 2.0.2 and Tomcat 4.0.4.

I have an existing xml -> xsl stylesheet -> html module set up that
publishes reports. I would like to use cocoon to do this transformation for 
me. Thus I would like to change my existing xsl stylesheet as minimally as 

My situation is this: my xml data is passed to one main xsl stylesheet
(main.xsl) which calls a few other xsl styleshees (via: <xsl:call- template 

Currently, main.xsl includes: header.xsl, body.xsl, footer.xsl.

main.xsl like so:
<xsl:include href="header.xsl" />
<xsl:include href="body.xsl" />
<xsl:include href="footer.xsl" />

and these three xsl templates are called later: (ie: <xsl:call-template
name="header" />)

How would this be mimicked in Cocoon? Would I need to use <map:aggregate /> 
to aggregate the html output from the included stylesheets? How exactly is 
this done? And what are the <map:part />?

Or is aggregation totally not the way to go? Because currently when I use my 
existing xsl template (with the include and call-template commands) I get an 
error saying the template is not found. Is this doable with my existing xsl 

Any help would be appreciated.

Join the world’s largest e-mail service with MSN Hotmail.

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