Well I've tried to do that and it would be really practical to do so with the ability to use a select inside.
I didn't succeed. I think in that case you're supposed to use a C/Xinclude instead. It'll give you more flexibility. If you want to call a resource do that: <resource name="test> .. </resource> <pipeline> ... <match pattern="mypipeline"> <call resource="test> ... <match... <map:aggregate.. <map:part src="cocoon:/mypipeline"/> -----Message d'origine----- De : Jorg Heymans [mailto:[EMAIL PROTECTED] Envoy� : mercredi 26 novembre 2003 14:17 � : [EMAIL PROTECTED] Objet : aggregating defined resources Hi, How can i use a defined resource in an aggregation? I have <map:resource name="myresource"> ..................... </map:resource> <map:aggregate element="aggregation"> <map:part src="file://{1}.xml"/> <!-- call somehow the resource here --> </map:aggregate> From the wiki i read that there is a resource part, but this is used to retrieve data from the classpath (unfortunate naming if you ask me) resource://class-path-context/foo/bar Is this possible? Thanks Jorg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
