You can write an XSLT or STX stylesheet for that and use the corresponding transformer to apply it to the XML...

Cheers,
Geert

Derry O'Sullivan wrote:
Hi all,

I'm running Cocoon 2.0.3 on Tomcat 4.1 to develop an extension to an existing cocoon based application. The task is to adapt existing xml output created by a java generator. I've looked into aggregation and transformations to try and get this to work. What i want to do is essence is change the output from:

<a>
     <b>
           <c>Old Content</c>
     </b>
</a>

to be:

<a>
      <b>
             <c>Old Content</c>
       </b>
             <d>Inserted New content</d>
</a>

by editing the source given by the generator (as in the first code snippet). Is it possible to do this?

many thanks in advance and sorry for the basic question,

Derry


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



--
Drs. G.P.H. Josten
Consultant



Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl


De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.

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

Reply via email to