Hi everyone, 

when using the aggregator, is it possible to specify an attribute as
well as the name of the parent element, eg


<map:match pattern="about">

 <map:aggregate element="page">
  <map:part src="cocoon:/info"/>
  <map:part type="file" src="otherInfo.xml"/>
 </map:aggregate>

 <map:transform type="xslt" src="faq.xsl"/>
 <map:serialize type="xhtml"/>
</map:match>

will give me

<page>
 <info/>
 <otherInfo/>
</page>

whereas I would like

<page type="info">
 <info/>
 <otherInfo/>
</page>


Is this possible?

Kind regards,
Nick


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to