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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]