Java Mailing List Archive

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

Apache Ant Archive

» Ant Users List
» Ant Developers List
AW: XML question

AW: XML question

2005-06-29       - By Jan.Materne@(protected)

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@(protected)]
>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@(protected)]
>Sent: Wednesday, June 29, 2005 12:22 PM
>To: user@(protected)
>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@(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.