Marc Portier wrote:
Hmm, much of the code on this page is wrong or at least misleading:

<map:resource name="generate-data-xml">
<map:generate type="myCSVGenerator" src="http://csv-server.domain/getData"/>
</map:resource>


<map:resource name="generate-data-svg">
  <map:call resource="generate-data-xml"/>
  <map:transform src="xsl/datafilter.xsl"/>
  <map:transform src="xsl/data2svg.xsl"/>       </map:resource>

A <map:call resource=""/> is a one way ticket. The processing does not return to the calling pipeline. Or do I miss anything?


I think it does... (at least it did at the time of writing since I tested the code out)


resources are pieces of pipelines that take up roles
see also the accompanied page at
http://wiki.cocoondev.org/Wiki.jsp?page=ResourceNaming

If that's true it must be more a bug than a feature I guess: http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html#Calling+resources.


Joerg


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



Reply via email to