Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 24223 invoked by uid 500); 12 Dec 2002 10:15:52 -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 24210 invoked from network); 12 Dec 2002 10:15:52 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Yves Vindevogel Reply-To: yves.vindevogel@implements.be Organization: Implements To: cocoon-users@xml.apache.org Subject: Re: Transforming several XMLs (Request Generator component) Date: Thu, 12 Dec 2002 11:16:29 +0100 User-Agent: KMail/1.4.1 References: <20021212080901.GA3687@testbox.incap.ru> In-Reply-To: <20021212080901.GA3687@testbox.incap.ru> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212121116.29886.yves.vindevogel@implements.be> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You must begin with the REQUEST. This can be done by using XSP. This must be the first because you can only do XSP as generator. This is the source of something I need from the Session (similar) =09
=09=09 =09=09=09 =09=09=09=09 =09=09=09 =09=09 =09
Then you must "include" your static XML file. This is source I use to glue two XML files together =09 =09 =09=09
=09=09=09 =09=09=09=09 =09=09=09 =09=09=09 =09 =09=09 =09=09=09 =09=09=09 =09=09 =09 You end up with one XML file, that you can parse through one XSL file to = do=20 what you need. This is a sample pipeline for it =09=09=09 =09=09=09=09 =09=09=09=09 =09=09=09=09=09 =09=09=09=09 =09=09=09=09 =09=09=09=09=09 =09=09=09=09 =09=09=09=09 =09=09=09 And a sample XSL =09 =09
=09 =09=09 =09=09 =09
=09 =09=09
=09=09 =09=09  =09=09=09=09
=09 =09
=09
=09=09=09 sub =09=09=09 =09i =09 =09=09=09 =09=09=09 =09=09=09 =09a =09 =09sub =09 =09 =09
position: relative; left: 10;<= xsl:if test=3D"count(ancestor::node()) > 3"> display:=20 none; =20 d =20
=20

Hope this helps !! > Hello, > > I need to produce a transformation based on two XML files. The first is= my > XML file, the second is the output of the Request Generator, produced b= y > > > > > I need to grab a couple of keys from this output, combine it with my XM= L > and transform it. How should I do this? --=20 Kind regards, Yves Vindevogel Implements Kortrijkstraat 2 bus 1 -- 9700 Oudenaarde -- Belgium Phone/Fax: +32 (55) 45.74.73 -- Mobile: +32 (478) 80.82.91 Mail: yves.vindevogel@implements.be -- www.implements.be Quote: The winner never says participating is more important than winning= =2E --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: