cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fei <ral...@yahoo.com>
Subject Re: problem creating new transformer
Date Wed, 22 May 2002 08:48:50 GMT

--- Tom Klaasen <tom.klaasen@pandora.be> wrote:
> C YF wrote:
> 
> >I am going to create transformers and actions for a
> >project I am working on. For testing purpose I
> created
> >a dummy transformer. 
> >
> >package org.apache.cocoon.transformation;
> >import
>
>org.apache.cocoon.transformation.AbstractDOMTransformer;
> >
> >class TestTransformer extends
> AbstractDOMTransformer {
> >    public TestTransformer() {
> >        super();
> >    }
> >    protected org.w3c.dom.Document
> >transform(org.w3c.dom.Document doc) {
> >	...
> >	some dummy code
> >	...
> >    	return doc;
> >    }
> >}
> >
> 
> Try declaring your class public ...
> 
> tomK
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email:
> cocoon-dev-help@xml.apache.org
> 

It works! Thanks.

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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


Mime
View raw message