ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kees van Dieren" <kees.vandie...@mp-objects.com>
Subject RE: XML question
Date Wed, 29 Jun 2005 09:47:41 GMT
You can try it with the style task (xslt transformer). You don't use use dom
or an xml parser yourself, but need to create an external xslt sheet, so
it's not pure ant.

Kind regards,

Kees van Dieren
Senior Software Engineer

MP Objects Supply Chain Software
Stationsplein 45
3013 AK Rotterdam
The Netherlands

Post address:
Postbus 29126
3001 GC Rotterdam

Mobile: +31 (0)6-43068619
Phone: +31 (0)10-2900304
Fax: +31 (0)10-2900305

-----Original Message-----
From: Nir Geier [mailto:Nir.Geier@unipier.com] 
Sent: Wednesday, June 29, 2005 12:22 PM
To: user@ant.apache.org
Subject: XML question

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.







---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message