Hello @Nozomu-Ezomori,
this depends highly on the real file content. I assume, from the given example, that it is a xml file, correct?
If so, a script, written in a language which can handle xml documents, can easily do it as long as the xml node
has an unique identifier like the parent node, or its node name etc…
I assume it can also be done by using the mighty regular expressions if there is a pattern which can be identified.
So, without having the real content, we can only give suggestions on how to solve it.
Cheers
Claudia