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


Groups > comp.lang.python > #79768

Re: XML Patch

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <nicholas.cole@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.031
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'python.': 0.02; 'url:sourceforge': 0.03; 'xml,': 0.05; 'diff': 0.07; 'url:msdn': 0.07; 'here?': 0.09; 'hypothetical': 0.16; 'subject:XML': 0.16; 'wrote:': 0.18; 'stefan': 0.19; 'mon,': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'xml': 0.29; 'message- id:@mail.gmail.com': 0.30; 'that.': 0.31; 'anyone': 0.31; '(including': 0.33; "i'd": 0.34; 'could': 0.34; 'tool': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'wishes,': 0.36; 'hi,': 0.36; 'similar': 0.36; 'wrong': 0.37; 'url:microsoft': 0.37; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'little': 0.38; 'heard': 0.39; 'to:addr:python.org': 0.39; 'kind': 0.63; 'more': 0.64; 'talking': 0.65; 'series': 0.66; 'here': 0.66; 'between': 0.67; 'yes': 0.68; 'applying': 0.72; 'url:en-gb': 0.91; 'differences': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WHSC3oEB6TMfS8OpoAo/5bl8D6ejUg35cz6OL/DBvIA=; b=B7tMUa3YdZjOpS6LnlGFnU3hy2+q2VW94CMmC+4BbBN2OPabIzeFaYWSz4Xq4iWj0H oIXB81rQZcR3zSBfkikD9NT6HtFYYmInbGPSkoslmI7NkEt73Pev3cTfuRwG6xq4bTD9 yVNqo7ymSWP8XLK8KVai3Gv64N4l68JAp7A6oCStLsBsC0oerk+a6Q1O9WQwimcJx6Es noSmEBpQecGk7YCFSBZinvnd6GC2vRw3WQgevm7l3HjCzjU68MdKcDlGKwTagulVFjeJ SxLMLuP2LxDcEwPM3cF3Eg/hIDSIQ+bzqqGO4rw5PGpZYU4H5uT0iYqKqSkUpfDvYiJ7 766g==
MIME-Version 1.0
X-Received by 10.107.137.194 with SMTP id t63mr1705321ioi.52.1414396155034; Mon, 27 Oct 2014 00:49:15 -0700 (PDT)
In-Reply-To <m2ks6a$pk7$1@ger.gmane.org>
References <CAAu18hfu=uZr8CNem_Fui1KBPyQ=wCC2wGyEfmKuW49HH5heAw@mail.gmail.com> <m2jekf$h7u$1@ger.gmane.org> <m2ks6a$pk7$1@ger.gmane.org>
Date Mon, 27 Oct 2014 07:49:14 +0000
Subject Re: XML Patch
From Nicholas Cole <nicholas.cole@gmail.com>
To Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15228.1414396164.18130.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1414396164 news.xs4all.nl 2874 [2001:888:2000:d::a6]:39305
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79768

Show key headers only | View raw


On Mon, Oct 27, 2014 at 7:28 AM, Stefan Behnel <stefan_ml@behnel.de> wrote:
> Hi,
>
> please keep this on-list.

Sorry about that. Wrong button!

[snip]

>> 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?

I don't think the specific documents matter, and I don't think it's a
unique use-case.  Here's Microsoft talking about XML diff and patching
(including a hypothetical example):

http://msdn.microsoft.com/en-gb/library/aa302294.aspx

There's a tool here to do it:

http://xmlpatch.sourceforge.net

I'd just really like to be able to do something similar in Python.

Best wishes,

N.

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


Thread

Re: XML Patch Nicholas Cole <nicholas.cole@gmail.com> - 2014-10-27 07:49 +0000

csiph-web