When is it OK to use an XML file to save information?

后端 未结 5 963
忘了有多久
忘了有多久 2020-12-20 18:31

What reason could there be for using an XML to save information?

5条回答
  •  半阙折子戏
    2020-12-20 18:43

    We use it for saving our machine configuration files. We have a lot of machines in the field that get configured a number of different ways. We can use the DataContract or Xml serializer, which is easy to implement.

    The benefit for us, is that we can easily diff these files to look at differences between the machines.

提交回复
热议问题