ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: XML question
Date Wed, 29 Jun 2005 09:45:42 GMT
An xml is also "simple" text file. So you could try <replaceregexp> or <filterchain>s.

You know the xmltask (see external page)?


Jan

>-----Urspr√ľngliche Nachricht-----
>Von: Kees van Dieren [mailto:kees.vandieren@mp-objects.com] 
>Gesendet: Mittwoch, 29. Juni 2005 11:48
>An: 'Ant Users List'
>Betreff: RE: XML question
>
>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
>
>

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


Mime
View raw message