cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: aggregator element question
Date Tue, 10 Sep 2002 22:27:44 GMT
On 10 Sep 2002, Nick Airey wrote:

>
> Hi everyone,
>
> I posted this earlier on the users' list, and no reply. So here it is for the gurus.
>
>
>
> Question: when using the aggregator, is it possible to specify an attribute as
> well as the name of the parent element, eg if I have:
>
>
> <map:match pattern="about">
>
>  <map:aggregate element="page">
>   <map:part src="cocoon:/info"/>
>   <map:part type="file" src="otherInfo.xml"/>
>  </map:aggregate>
>
>  <map:serialize/>
> </map:match>
>
> it will give me something like
>
> <page>
>  <info/>
>  <otherInfo/>
> </page>
>
> whereas I would like
>
> <page type="nicks_info_page">
>  <info/>
>  <otherInfo/>
> </page>
>
>
> Is this possible? I'm using cocoon 2.0.2

No.

Giacomo


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


Mime
View raw message