Need some help with a batch file

Soldato
Joined
7 Aug 2003
Posts
8,030
Location
Bedfordshire
Hi All,

I've got to add 200 new items to an xml file.

My programming skills are rather weak as I haven't done any for ages, here is the format of the document:

<Product UnitID="0035-1889" Version="V5.1">
<Group Name="StandardFlags"/>
<Group Name="StandardPlots"/>
<Group Name="Channel1"/>
</Product>

I want to be able to feed this file in to the batch program, increment the 'UnitID number' by 1 for a maximum of 200 times and then either write to the same document or write to a new one.

All help greatly appreciated.
 
Back
Top Bottom