XML search and replace
Posted on 2013-10-25
I have an XML document with the following dates and periods. It is run twice a month.
An example of the lines are as follows:
There are about 10 different dates that have to be changed and each of these lines are in the document an unknown number of times. For example, doing this manually, I find the first occurrence of <DOC_REC_DT_DC... and replace all with the same text except for changing the date from 2013-10-15 to the current date.
I would like to automate this so it doesn't have to be done manually.
I don't know xml so I'd like to use a batch file or some reliable utility.
Thank you for your help.