ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Agnew <br...@oopsconsultancy.com>
Subject Re: XML question
Date Wed, 29 Jun 2005 09:44:19 GMT
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@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message