Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 69789 invoked by uid 500); 10 May 2002 17:12:29 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Delivered-To: moderator for cocoon-users@xml.apache.org Received: (qmail 56048 invoked from network); 10 May 2002 17:00:41 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Ben Skelton Reply-To: ben.skelton@gip.com To: cocoon-users@xml.apache.org Subject: Transformer writing Date: Fri, 10 May 2002 18:55:24 +0200 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205101855.24436.bskelton@gip.com> X-Virus-Scanned: by AMaViS perl-11 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hallo, I am trying to get my head around the cocoon internals. In particular I h= ave=20 an old library which takes XML in an InputStream, performs some (signific= ant)=20 processing and produces XML making it available in an OutputStream (a=20 Document is also available). Is it possible to insert this processing into a cocoon pipe? I have had a= look=20 at the source code for Transformers, in particular CIncludeTransformer wh= ich=20 I see as the closest example.=20 I could write a Transformer to parse the input into the Transformer, on t= he=20 appropriate endElement, the object could go away and do something, but I=20 can't see how to insert the results back into the pipe. Does any one have a simple example of this, or an easy explanation they w= ould=20 share? Are there any resources for extending cocoon available? - I see on= =20 Amazon that there'll be a couple of books published soon. Many thanks --Ben --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: