cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Beginners Question
Date Mon, 17 Oct 2005 17:11:40 GMT
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?

Yes. How you do it depends on the source of the new content. The 
simplest way is to add an XSLT transformation after the generator to 
modify its output.

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://people.apache.org/~sylvain     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


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


Mime
View raw message