Comparing two xml files in python

后端 未结 3 1412
别那么骄傲
别那么骄傲 2020-12-03 12:28

I am new to programming in python,´and i have some troubles understanding the concept. I wish to compare two xml files. These xml files are quite large. I will give an examp

3条回答
  •  死守一世寂寞
    2020-12-03 12:48

    This is actually a reasonably challenging problem (due to what "difference" means often being in the eye of the beholder here, as there will be semantically "equivalent" information that you probably don't want marked as differences).

    You could try using xmldiff, which is based on work in the paper Change Detection in Hierarchically Structured Information.

提交回复
热议问题