Check your <map:serialize type="xml"/> and <map:serialize type="html"/>.

The former produces "only the cmsbody parts with a weird presentation,
as if the XSL are not being found or correctly used."  The latter
displays HTML.

Each entry pipeline must return HTML.  Pipelines used internally (such
as called using <map:part>) should serialize XML.  You have them
reversed.

This means I should switch <map:serialize type="xml"/> and <map:serialize type="html"/> so it looks like the code listed below

  <map:match pattern="**/staff/*/profile">
      <map:aggregate element="cmsbody">
<map:part src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/breadcrumb/index.xml"/> <map:part src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/tabs/index.xml"/> <map:part src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/menu/index.xml"/> <map:part src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/search/index.xml"/>
          <map:part src="cocoon:/staff-{2}"/>
      </map:aggregate>
      <map:transform src="xslt/page2xhtml.xsl"/>
      <map:serialize type="*html*"/>
  </map:match>

  <!-- Match for each staff child node ID existent -->
  <map:match pattern="staff-asg">
<map:generate src="http://localhost/cwis/SPT--OAI.php?verb=ListRecords&amp;metadataPrefix=oai_dc&amp;set=Creator:Adolfo%20Steiger"/>
      <map:transform src="xslt/OAI2xhtml.xsl"/>
      <map:serialize type="*xml*"/>
  </map:match>

so that the inner pipeline returns xml and the main one returns html.

I've performed this change and the result remained the same. Any idea why?

Thanks for the reply, regards,
Rolando

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to