Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 9578 invoked from network); 18 Aug 2005 15:36:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Aug 2005 15:36:20 -0000 Received: (qmail 23973 invoked by uid 500); 18 Aug 2005 15:36:14 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 23924 invoked by uid 500); 18 Aug 2005 15:36:14 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 23852 invoked by uid 99); 18 Aug 2005 15:36:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2005 08:36:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ddevienne@gmail.com designates 64.233.170.201 as permitted sender) Received: from [64.233.170.201] (HELO rproxy.gmail.com) (64.233.170.201) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2005 08:36:30 -0700 Received: by rproxy.gmail.com with SMTP id a41so369402rng for ; Thu, 18 Aug 2005 08:36:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole:in-reply-to:importance; b=siVbBaLr525WxXwX7ouSkaBrELemoRuojQdMV0kvSAQU/YDF+dqDq+1os3LVfPxBpqdS56nJ6g9ylkuka09bk0l2Ep7gDzmB4f4i+EJSmbkgPf4ZPZ1naDdxZ9vx4wniJHZNW2DWnrZbEOvEkoErQDsAZAfYUWN0pAeMbkjPbKQ= Received: by 10.38.12.76 with SMTP id 76mr609009rnl; Thu, 18 Aug 2005 08:36:09 -0700 (PDT) Received: from DDEVIENNE2 ([134.132.77.133]) by mx.gmail.com with ESMTP id 75sm3679167rnb.2005.08.18.08.36.08; Thu, 18 Aug 2005 08:36:09 -0700 (PDT) From: "Dominique Devienne" To: "'Ant Users List'" Subject: RE: Passing xsl the xml filename as a parameter. Date: Thu, 18 Aug 2005 10:36:07 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 In-Reply-To: Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > From: news [mailto:news@sea.gmane.org] On Behalf Of Ron Piterman > > The xslt task has a parameter sub-element. How can I pass the current > xml file name being processed to the stylesheet? You can't, AFAIK. Use Ant-Contrib's task to call for each individual file. Will be slower since will recompile the stylesheet everytime, but then you know which (single) file you are processing. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org