You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ricardo Trindade <Ri...@myrealbox.com> on 2002/10/24 17:43:26 UTC

aggregation of sub-sitemap

Hi,

	I have two sitemaps. The first sitemaps "mounts" the second.

	On the first sitemap, I want to do an aggregation with a matcher defined on
the other.

	So I have :

	<!--Report parameters-->
	<map:match pattern="reportContent">
		<map:aggregate element="content">
			<map:part src="cocoon:/reports/getReportParameters" strip-root="true"/>
</map:aggregate>
		<map:serialize type="xml"/>
	</map:match>

	<!--reports sub sitemap-->
	<map:match pattern="reports/**">
		<map:mount check-reload="yes" src="reports/sitemap.xmap"
uri-prefix="reports"/>       	</map:match>

there is a getReportParameters matcher in reports/sitemap.xmap. shouldn't
this work ?

thanks


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>