Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79767

Re: XML Patch

From Stefan Behnel <stefan_ml@behnel.de>
Subject Re: XML Patch
Date 2014-10-27 08:28 +0100
References <CAAu18hfu=uZr8CNem_Fui1KBPyQ=wCC2wGyEfmKuW49HH5heAw@mail.gmail.com> <m2jekf$h7u$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.15227.1414394904.18130.python-list@python.org> (permalink)

Show all headers | View raw


Hi,

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?

Stefan

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: XML Patch Stefan Behnel <stefan_ml@behnel.de> - 2014-10-27 08:28 +0100

csiph-web