Java Mailing List Archive

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

Apache Ant Archive

» Ant Users List
» Ant Developers List
XML question

XML question

2005-06-29       - By Nir Geier
Reply:     1     2     3     4     5     6     7     8  

Ty,

I simply want to add XML during build process.
i need to add node based upon info generated

-----Original Message-----
From: Kees van Dieren [mailto:kees.vandieren@(protected)]
Sent: Wednesday, June 29, 2005 11:48 AM
To: 'Ant Users List'
Subject: 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.