I would like to find an easyer solution in inserting a string at the end of a tag (before the closing tag) in a xml file in windows.
This is a huge XML file with over 4000 lines.
At almost all lines there is an managedObject tag, and at the end i would like to insert a string:
So it looks like this:
<managedObject class="blabla" ... id="1234">
..and want to make it like this:
<managedObject class="blabla" ... id="1234" operation="create">
As I said the XML file is huge, and not all lines have managedObject tags. I only want to insert the string were the managedObject tags are.
Up till now i did it manually..but it takes a lot of time..