Is it possible that If I modify a file, It will be modified the other file?

LooBi 141 Reputation points

Let's say
There are two(or more) xml files.

They are related.

so If I have to modify <Label key="apple"> to <Label key="grape"> in a.xml ,
I have to modify <item>apple</item> to <item>grape</item> in b.xml too.

I find the way
I modify one place, find it the other file and replace it at the same time.
The purpose is to avoid human erros.



and my code

Thank you!

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,562 questions
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
712 questions
{count} votes