cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: How to write a transformer
Date Mon, 25 Apr 2005 11:48:45 GMT
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


Mime
View raw message