Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 16586 invoked from network); 5 Mar 2009 09:00:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2009 09:00:42 -0000 Received: (qmail 87209 invoked by uid 500); 5 Mar 2009 09:00:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 87159 invoked by uid 500); 5 Mar 2009 09:00:38 -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 87148 invoked by uid 99); 5 Mar 2009 09:00:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 01:00:38 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [195.253.6.83] (HELO kmx10a.knipp.de) (195.253.6.83) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 09:00:27 +0000 Received: from localhost (localhost [127.0.0.1]) by kmx10a.knipp.de (Postfix) with ESMTP id 9269754; Thu, 5 Mar 2009 10:00:07 +0100 (MEZ) X-Knipp-VirusScanned: Yes Received: from kmx10a.knipp.de ([127.0.0.1]) by localhost (kmx10a.knipp.de [127.0.0.1]) (amavisd-new, port 10004) with ESMTP id DK7ietSxafgY; Thu, 5 Mar 2009 10:00:05 +0100 (MEZ) Received: from hp9000.do.knipp.de (hp9000.do.knipp.de [195.253.2.54]) by kmx10a.knipp.de (Postfix) with ESMTP id 435A752; Thu, 5 Mar 2009 10:00:05 +0100 (MEZ) Received: from [195.253.2.27] (mclane.do.knipp.de [195.253.2.27]) by hp9000.do.knipp.de (@(#)Sendmail version 8.13.3 - Revision 1.000 - 1st August,2006/8.13.3) with ESMTP id n25905WT007688; Thu, 5 Mar 2009 10:00:05 +0100 (MEZ) Message-ID: <49AF9495.4070700@knipp.de> Date: Thu, 05 Mar 2009 10:00:05 +0100 From: Klaus Malorny User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b3pre) Gecko/20090304 Shredder/3.0b3pre MIME-Version: 1.0 To: Ant Users List Subject: Ant & patching XML files Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I am looking for a method to manipulate XML files from Ant, i.e. adding/removing elements, changing attributes or elements' contents, far simpler than the capabilities of XSL/T. I have found the XmlTask ([1], [2]) and this seems to be quite flexible. However, as part of a configuration management, I would prefer to keep the "delta" files outside of the Ant script (maybe in the format of RFC 5261), and this task does not seem to support that. Before choosing XmlTask I just want to ask whether there are any other known tasks that would allow external delta files. Thanks in advance. Regards, Klaus [1] http://ant.apache.org/external.html#XmlTask [2] http://www.oopsconsultancy.com/software/xmltask/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org