Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > [Ant] Merge two xml files

Reply
Thread Tools

[Ant] Merge two xml files

 
 
Eirik Eldorsen
Guest
Posts: n/a
 
      01-24-2004
In my project the web.xml file is autogenerated from Xdoclet tags. My
problem is that I have some xml code that I can't autogenerate with Xdoclet
tags. Is it possible to put this code in a separate xml file, and then make
Ant merge it into web.xml?

Eirik Eldorsen


 
Reply With Quote
 
 
 
 
Brian Agnew
Guest
Posts: n/a
 
      04-12-2004
See http://www.oopsconsultancy.com/software/xmltask for an Ant task that
will do this and more besides.

Eirik Eldorsen wrote:
> In my project the web.xml file is autogenerated from Xdoclet tags. My
> problem is that I have some xml code that I can't autogenerate with Xdoclet
> tags. Is it possible to put this code in a separate xml file, and then make
> Ant merge it into web.xml?
>
> Eirik Eldorsen
>
>


--
Brian Agnew http://www.oopsconsultancy.com
OOPS Consultancy Ltd brian @ nospam_oopsconsultancy.com
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Is there a way to merge two XML files via Python? Stefan Behnel Python 0 01-12-2012 04:39 PM
Is there a way to merge two XML files via Python? J Python 0 01-12-2012 04:04 PM
Merge two different xml files into one Kjetil Finsrud XML 0 11-23-2004 09:20 AM
Merge two xml files on common date field and write out tab-delimited file Luke Airig XML 0 12-21-2003 08:00 PM
merge two xml files based on common key Luke Airig XML 1 12-16-2003 07:36 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57