i'm useing the XML task in ANT to copy siome XML stuff.
<xmltask source="test.xml">
<copy path="starttag/Checktag[@id='123']" buffer="test"/>
</xmltask>
This part of code copies everything which is between the Checktag with the id 123. My only problem now is that i really don't know how to save the buffer test to a new xml file.