Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 21365 invoked by uid 500); 16 Dec 2002 13:26:55 -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 21354 invoked from network); 16 Dec 2002 13:26:54 -0000 Message-ID: <3DFDD491.6050804@gmx.de> Date: Mon, 16 Dec 2002 14:26:41 +0100 From: Joerg Heinicke User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: de-de, de, en, en-us MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Perl in cocoon References: <3DFDC648.1000007@semafor.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello Sorin, I don't know anything about Perl in Cocoon and I don't think it's possible. There is another project called Axkit, which uses Perl and is similar to Cocoon. But you don't need Perl for your task. In Cocoon a DirectoryGenerator exists, which gives you an XML representation of the files contained in the directory. Now you only need a simple stylesheet, which combines the XML files via document(), or creates XML for CInclude/XInclude. The already propagated Sitemap Aggregation seems to be to static for your task. But the other solution is really simple too. If you need further help, you can ask of course. Regards, Joerg Sorin Marti wrote: > Hi all, > > In my directory (webapps/cocoon/mount/energie/) i've got a number of > XML-Files which which I want to put together. I have a perl script which > does that for me. > > So my question is: Is it possible to run this perl script? The whole > thing should look like that: > > XML-File 1 > --------- > > > > > Erd�lprodukte > 488300 > > [...] > > M�ll und Industrieadf�lle > 3700 > > > > XML-File 2,3,4 > ------------ > Have the same structure as number one... > > Should become: combined.XML > > So when I request for "combined.html" it should run the perl-script (put > the files together, create combinded.xml) then compile (with > "energiebericht2html.xsl") and display combined.html > > is this possible? > > Thanks in advance for any advice > > Sorin Marti > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@virbus.de www.virbus.de --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: