Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 97413 invoked from network); 20 Sep 2006 05:53:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Sep 2006 05:53:57 -0000 Received: (qmail 7253 invoked by uid 500); 20 Sep 2006 05:53:52 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 7222 invoked by uid 500); 20 Sep 2006 05:53:51 -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 7211 invoked by uid 99); 20 Sep 2006 05:53:51 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2006 22:53:51 -0700 X-ASF-Spam-Status: No, hits=0.2 required=5.0 tests=NO_REAL_NAME Received: from ([193.109.238.66:37571] helo=dnsinet.rzf-nrw.de) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 62/E2-01184-A67D0154 for ; Tue, 19 Sep 2006 22:53:48 -0700 Received: from z011100.bk.fin.local (z011104.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.13.8/8.13.8) with ESMTP id k8K5rfvl022791 for ; Wed, 20 Sep 2006 07:53:41 +0200 Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Wed, 20 Sep 2006 07:53:42 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: AW: Use in a filterchain? Date: Wed, 20 Sep 2006 07:53:42 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Use in a filterchain? Thread-Index: Acbb7X0QJrjDCVnuRzCX0hDCF3WC+QAARjqgAAzHJtAAFaFj0A== From: To: X-OriginalArrivalTime: 20 Sep 2006 05:53:42.0544 (UTC) FILETIME=[20C2F900:01C6DC79] X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Basically, I was doing something like this (if I=20 >understand you correctly). I was shunting the exec output to=20 >a file and then using the task to transform it into=20 >another file. I was just hoping to cut out the middleman. My approach does not use a tmp file - it uses an Ant property. 0001: 0002: 0003: 0004: 0005: 0006: =20 #1 catches the result (maybe you need 'outputproperty'...) of your external program. #2 xslt as usual: define the output file and the stylesheet #3 here we use new features of Ant 1.7 - the resource collections (as xml-input) #4 and one resource is the value of an Ant property But you have to ensure that the value of the property ${out.xml} is xml compliant. Otherwise you'll earn a BuildException... Jan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org