S
Size: a a a
МС
O
O
AR
AR
AR
O
AR
A
input_file = r'in.xml'
output_file = r'out.xml'
replacements = {'"': '"',}
with open(input_file, 'r') as in_file, open(output_file, 'w') as out_file:
for line in in_file:
for search_for in replacements:
replace_with = replacements[search_for]
line = line.replace(search_for, replace_with)
out_file.write(line)IP
МС
IP
М
O
МС