I want to start work on a programme that enables me to edit the below peice of text within an xml file.
<AREA SHAPE=rect COORDS="419,2049,551,2088" HREF="54043" >
1. I want to increase each of the above co-ordinates by 5.
2. In a different scenario I want to INCREASE co-ordinate 419 and 551 by 20
3. In a different scenario I want to DECREASE co-ordinate 2049 and 2088 by 20
The Co-ordinates will vary between file to file, but will always have 4 on account of it being a rectangle.
Any help and pointers to begin would be helpful. There's no code yet, I plan to start later.
1 Replies - 499 Views - Last Post: 27 June 2012 - 06:44 AM
Replies To: Increase numbers within a line of text by a certain number.
Page 1 of 1