I have an xml file (myxml.xml) like this
<fileset dir ="C:\dir1">
<include name="abc.txt">
<include name ="def.txt">
</fileset>
<fileset dir ="C:\dir2">
<include name="abc2.txt">
<include name ="def2.txt">
</fileset>
I want to parse this file using my Ant build.xml and want two txt files to be created say text1.txt and text2.txt, with following content
text1.txt
C:\dir1\abc.txt
C:\dir1\def.txt
and text2.txt should have
C:\dir2\abc2.txt
C:\dir2\def2.txt
Any idea how I can achieve this :)