cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist ...@wrinkledog.com>
Subject Re: flowscript conception problem
Date Mon, 09 Aug 2004 04:22:47 GMT

On Aug 8, 2004, at 12:33 PM, defe wrote:

> hi,
>
> is it possible to use flowscripts for generating internal xml parts.
>
> <map:aggregate element="page">
>    <map:part src="cocoon;//pathto/foo.xml"/>
>     <map:part .../>
>     ...
> </map:aggregate>
>
> elsewhere,
>
> <map:pipeline internal-only="true">
>    <map:match pattern="foo.xml">
>        <map:call function="foo"/>
>    </map:match>
>
>    <map:match pattern="foo.jx">
>        <map:generate type="jx" ../>
>            ...
>        <map:serialize type="xml"/>
>    </map:match>
> </map:pipeline>

Sure.  No problem.  Except in your example, the matcher won't match the 
pattern for the src in your aggregate part... but you have the right 
idea.

~ml


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message