Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 56375 invoked by uid 500); 17 Jun 2002 16:43:35 -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 Received: (qmail 56364 invoked from network); 17 Jun 2002 16:43:35 -0000 From: "Ricardo Trindade" To: Subject: RE: writing custom serializer and generator Date: Mon, 17 Jun 2002 17:37:40 +0100 Message-ID: <000601c2161d$4c8459c0$0201a8c0@ricardo> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <01ca01c21606$ddb61df0$0a00a8c0@vgritsenkopc> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N could you point me to an example of converting a string to SAX events ? (my string contains well formed XML) thanks Ricardo -----Original Message----- From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net] Sent: segunda-feira, 17 de Junho de 2002 14:57 To: cocoon-users@xml.apache.org Subject: RE: writing custom serializer and generator > From: Ricardo Trindade [mailto:Ricardo.Trindade@myrealbox.com] > > Hi, > > I'm writing a custom serializer and generator. I've already written some > custom actions, which was easy. > I have libraries that generate XML, and I just want my generator to get > it > from there. However, I don't understant how to define the output of the > generator. I've looked at FileGenerator.java, and there's a step where a > SourceResoler is used to convert from the filename to a Source. I already > have my xml in a string, just want to send it to the generator output. You will have to covert your String into SAX XML events, Cocoon event pipeline does not work with non-XML formats. Use XML parser for it. Vadim > > Thanks for any help > Ricardo --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: