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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to