cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: [C2][Important] Content aggregation again. Resolution needed.
Date Mon, 22 Jan 2001 23:22:28 GMT
Stuart Roebuck wrote:
> 
> On Monday, January 22, 2001, at 11:05 AM, Paul Russell wrote:

<snipped-alot/> 

> What's the current status with resources.  Some time back I thought there was a problem
with referencing them in C2.  Are we talking something roughly like:
> 
>      <map:resource name="myResource">
>                 <map:generate src="input.xml" />
>                 <map:translate src="stylesheet1.xslt" />
>                 <map:translate src="stylesheet2.xslt" />
>                 <map:translate src="stylesheet3.xslt" />
>                 <map:translate src="stylesheet4.xslt" />
>      </map:resource>
> ...
>      <map:match pattern="result1.xml">
>                 <map:generate type="resource" src="myResource" />
>                 <map:translate src="stylesheetX.xslt" />
>         <map:serialize type="xml" />
>      </map:match>
>      <map:match pattern="result2.xml">
>                 <map:generate type="resource" src="myResource" />
>                 <map:translate src="stylesheetY.xslt" />
>         <map:serialize type="xml" />
>      </map:match>

No, this is not the way to use resources. Resources are final resources
you can use them as is but you cannot process them further on. It was
never meant to.

Giacomo

Mime
View raw message