XML Patch

Stefan Behnel stefan_ml at behnel.de
Mon Oct 27 08:28:10 CET 2014


please keep this on-list.

Nicholas Cole schrieb am 26.10.2014 um 22:43:
> On Sun, Oct 26, 2014 at 6:30 PM, Stefan Behnel wrote:
>> Nicholas Cole schrieb am 26.10.2014 um 18:00:
>>> I'm looking for a python library that can parse XML Documents and 
>>> create xml-aware "diff" files, and then use those to patch
>>> documents. In other words, I'd like something similar to the Google 
>>> diff-match-patch tools, but something which is XML aware.
>>> I can see several projects on Pypi that can generate some form of
>>> xml diff, but I can't seem to see anything that can also do the
>>> patching side of things.
>> Is there a use case for this?
> Yes - I want to store a series of XML diffs/patches and be able to 
> generate documents by applying them.

Could you be a little more specific? There are lots of ways to generate
XML, but I never heard of anyone who wanted to do this based on diffs
between other documents. What kind of document differences are you talking
about here?


More information about the Python-list mailing list