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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- 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
begin:vcard fn:Lionel Crine n:Crine;Lionel adr:;;22 rue Etienne de Jouy;JOUY EN JOSAS;;78353;FRANCE email;internet:[EMAIL PROTECTED] title:documentary systems engineer tel;work:01.34.58.70.70 tel;fax:01.39.46.06.90 x-mozilla-html:FALSE url:http://www.4dconcept.fr version:2.1 end:vcard
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
