Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 85982 invoked by uid 500); 12 Dec 2002 18:22:24 -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 85971 invoked from network); 12 Dec 2002 18:22:24 -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: Confused about xsl:include Date: Thu, 12 Dec 2002 19:22:53 +0100 User-Agent: KMail/1.4.1 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212121922.53927.yves.vindevogel@implements.be> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Not 100% sure, but in my (humble) opinion, you can only call included=20 templates and no longer use apply. Instead of you will need =09 =09=09 =09 in the included file: =09 =2E... > This should be simple, but I'm not able to make it work. > > Here's an xsl file, working fine: > > > xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform"> > > > Date/Time: > > > ... More templates ... > > > > So what I do is take the "Now" template and put it in a separate file > called "other.xsl" and add an include like this: > > > xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform"> > > > > ... More templates ... > > > > Here's other.xsl: > > xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform"> > > > Date/Time: > > > > > I know it's finding the other.xsl file because I get an exception if I = use > an incorrect href. However, when using an include cocoon no longer > applies the "Now" template. This must be simple. What am I doing wron= g? > Thanks for any and all tips! > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: --=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: