I'm wondering if it is possible to string generators together in one
map:match like:

<map:match pattern="CDCInvestigation.xml">
  <map:generate type="serverpages" src="
investigation/web/xsp/investigationAdultRubella.xsp"/>
  <map:generate type="serverpages" src="
cdm/web/xsp/personCoreDemographic.xsp"/>
  <map:transform src="web/xsl/CreateInputForm.html.xsl"/>
  <map:serialize type="html"/>
</map:match>

Then one HTML page comes out that is the sum of two separate XSP pages.

I found map:aggregate in the sitemap but can't figure out how it works. I'm
guessing this does what I want to do above.
What is element?
What do you do with ns, i guess that is the namespace.

        <map:aggregate element="page" ns="http://foo.bar.com/myspace";>
           <map:part src="cocoon:/slashdot/slashdot.xml" element="slashdot"
ns="http://foo.bar.com/slashdot"/>
           <map:part src="cocoon:/moreover/moreover.xml" element="moreover"
ns="http://foo.bar.com/moreover"/>
           <map:part src="cocoon:/isyndicate/news.xml" element="isyndicate"
ns="http://foo.bar.com/isyndicate"/>
        </map:aggregate>

Thanks for your help,
jay


---------------------------------------------------------------------
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]>

Reply via email to