Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45294 invoked from network); 18 Nov 2004 13:50:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Nov 2004 13:50:14 -0000 Received: (qmail 22766 invoked by uid 500); 18 Nov 2004 13:50:05 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 22732 invoked by uid 500); 18 Nov 2004 13:50:05 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 22717 invoked by uid 99); 18 Nov 2004 13:50:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [69.20.13.113] (HELO server1.ruminate.co.uk) (69.20.13.113) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 18 Nov 2004 05:50:03 -0800 Received: (from root@localhost) by server1.ruminate.co.uk (8.11.6/8.11.6) id iAIDnx432697; Thu, 18 Nov 2004 08:49:59 -0500 Date: Thu, 18 Nov 2004 08:49:59 -0500 From: jfuller@ruminate.co.uk Message-Id: <200411181349.iAIDnx432697@server1.ruminate.co.uk> Subject: Re: Find value between xml tags To: "Ant Users List" Cc: X-Originating-IP: 66.28.87.10 X-Mailer: Webmin 1.090 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1100785799" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --bound1100785799 Content-Type: text/plain Content-Transfer-Encoding: 7bit "Sanjeev_Das" wrote .. > > Hi All, > > I need to find out the value present in between the xml tags. Is there > any specific task in Ant to do so? If not can anyone suggest a > workaround. you could use antcontrib's regular expression capabilities in its propertyregex task.....the following is untested though! note my regex is untested...though it should be something like this...cant remember how I dealt with the entity issues before. hth, Jim Fuller --bound1100785799 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --bound1100785799--