Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
XML question

XML question

2005-06-29       - By Nir Geier
Reply:     1     2     3     4     5     6     7     8  

ty,
im looking into it.
looks like what i need.


-----Original Message-----
From: Brian Agnew [mailto:brian@(protected)]
Sent: Wednesday, June 29, 2005 11:44 AM
To: Ant Users List
Subject: Re: XML question


XmlTask can do this using the <insert/> subtask.

http://www.oopsconsultancy.com/software/xmltask/


Nir Geier wrote:

>Hi all,
>
>Im trying to manipulate XML by adding new node at some point.
>ex:
>
><root>
>   <node1>
>   <new node goes here/>
>   </node1>
>
>   <node2>
>   <sub1>  
>     <new node2 goes here/>
>   </sub1>  
>   </node2>
>
></root>
>
>Does any one has an idea how to do it without writing my own task or using XML
parser?
>I want to do it in a pure ant script if its possible.
>
>If not i will think on some other idea.
>
>Ty, in advance.
>
>
>
>
>
>
>

--
Brian Agnew                  http://www.oopsconsultancy.com
OOPS Consultancy Ltd         brian @ oopsconsultancy.com
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.