Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 69688 invoked from network); 7 Sep 2003 16:24:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Sep 2003 16:24:18 -0000 Received: (qmail 18436 invoked by uid 500); 7 Sep 2003 16:24:00 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 18400 invoked by uid 500); 7 Sep 2003 16:23:59 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 18375 invoked from network); 7 Sep 2003 16:23:59 -0000 Received: from unknown (HELO mwinf0601.wanadoo.fr) (193.252.22.25) by daedalus.apache.org with SMTP; 7 Sep 2003 16:23:59 -0000 Received: from anyware-tech.com (AToulouse-206-1-19-106.w81-53.abo.wanadoo.fr [81.53.227.106]) by mwinf0601.wanadoo.fr (SMTP Server) with ESMTP id 90B6F3400186 for ; Sun, 7 Sep 2003 18:23:59 +0200 (CEST) Message-ID: <3F5B5B9F.2060402@anyware-tech.com> Date: Sun, 07 Sep 2003 18:23:59 +0200 From: Sylvain Wallez Organization: Anyware Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: fr, en, en-us MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Parsing XML out of a DB-blob-field References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Mathias Wiegard wrote: >Hi, >I have to write a generator to convert data of an relational db to a special >xml-language. In the database are blob-fields that already contain correct >xml-code. Is there any helping component in cocoon, avalon, etc. which >accepts a String as source to generate SAX-Events to a XML-Consumer? I >additional need the possibility to add the same namespace to all these >elements... >Thanks in advance for every help, >Mat > You should take a look at the BlobSource in the database block : this may be just what you need. Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com