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 30013 invoked from network); 17 Nov 2000 17:38:41 -0000 Received: from f44.law4.hotmail.com (HELO hotmail.com) (216.33.149.44) by locus.apache.org with SMTP; 17 Nov 2000 17:38:41 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 17 Nov 2000 09:38:15 -0800 Received: from 148.88.0.10 by lw4fd.law4.hotmail.msn.com with HTTP; Fri, 17 Nov 2000 17:38:15 GMT X-Originating-IP: [148.88.0.10] From: "Robin Green" To: cocoon-users@xml.apache.org Subject: Re: Including templates from other File via xPath Date: Fri, 17 Nov 2000 17:38:15 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 17 Nov 2000 17:38:15.0449 (UTC) FILETIME=[2A43A090:01C050BD] X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N "Thomas Viohl" wrote: >Hi, >how can I reference a template from an other XML File you don't mean the _template_ is in another file, do you? Because the code below uses a template from the same xsl file, but tries to apply it to a different xml file. into my current XSL >Tansformation? >I tried it this way, but cocoon only pastes the whole file into the current >tag: > >... snip ... > > >select="document(concat('rtf/beschreibung/xml/',../PLSCH2,'.rtf.xml'),'#tran >sdoc/file/section')" /> I don't think that # should be there. You're thinking of HTML, probably. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.