Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 52072 invoked from network); 17 Nov 2000 13:55:01 -0000 Received: from new-smtp1.ihug.com.au (root@203.109.250.27) by locus.apache.org with SMTP; 17 Nov 2000 13:55:01 -0000 Received: from nescafe.localdomain (p56-apx1.syd.ihug.com.au [203.173.140.56]) by new-smtp1.ihug.com.au (8.9.3/8.9.3) with ESMTP id AAA06972 for ; Sat, 18 Nov 2000 00:54:28 +1100 X-Authentication-Warning: new-smtp1.ihug.com.au: Host p56-apx1.syd.ihug.com.au [203.173.140.56] claimed to be nescafe.localdomain Date: Sat, 18 Nov 2000 00:56:08 +1100 (EST) From: Jeff Turner X-Sender: jeff@nescafe.localdomain To: cocoon-users@xml.apache.org Subject: Re: Including templates from other File via xPath In-Reply-To: <008501c0507d$e11110e0$8534a8c0@hwr33> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Fri, 17 Nov 2000, Thomas Viohl wrote: > Hi, > how can I reference a template from an other XML File into my current XSL > Tansformation? > I tried it this way, but cocoon only pastes the whole file into the current > tag: It's the XSLT engine doing it, not Cocoon, so it would be better to ask on the XSL list. Can't you use , and then ? --Jeff > > ... snip ... > > > select="document(concat('rtf/beschreibung/xml/',../PLSCH2,'.rtf.xml'),'#tran > sdoc/file/section')" /> > ... snip ... > > the result is: > > >
>

TEXT...

>
>
>
> > what is the whole file not only (transdoc/file/section) > > Any help on XPath with cocoon ?? > > Thomas > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org >