cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject Re: How to write a transformer
Date Tue, 03 May 2005 14:49:58 GMT
Which kind of transformer do you want to do (DOM or SAX) ?

Besides, you can  a xslt stylesheet to make node replacement.

Lionel

Upayavira wrote:

> Michel Erard wrote:
>
>> Hello,
>>
>> I'd like to write a custom transformer which replases tags like: 
>> <param>NAME</param> with "Mike" for example.
>> I've found a little manual here: 
>> http://www.cocooncenter.org/articles/transformer.html but this is not 
>> very helpful because it doesn't any replaceing.
>> Does someone know, where I finde a tutorial for my problem or does 
>> have some information?
>
>
> Check out org.apache.cocoon.transformation.AbstractDOMTransformer and 
> org.apache.cocoon.transformation.AbstractSAXTransformer. They are base 
> classes that you can extend with minimal effort.
>
> Regards, Upayavira
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>

-- 
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.46.06.90


Mime
View raw message