cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Airey <nick.ai...@ihavemoved.com>
Subject aggregator element question
Date Tue, 10 Sep 2002 15:28:40 GMT

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

Kind regards,
Nick




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


Mime
View raw message