cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <>
Subject Re: Splitting the method into many smaller methods
Date Mon, 04 Jun 2001 15:46:58 GMT
> We have written a class file that implements the Cocoon's Processor
> interface.  This class's process method is very big.  But I am not able to
> split this method into smaller methods.  Because in each of these smaller
> are trying to modify the document parameter either by adding nodes
> or by applying a stylesheet.  Once I tried splitting this method but got a
> DOM005 exception.  So how do I avoid this??

Use importNode instead of appenNode() when moving nodes between different

    Konstantin Piroumian.

To unsubscribe, e-mail:
For additional commands, email:

View raw message