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: 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: References: Date: Mon, 27 Oct 2014 07:49:14 +0000 Subject: Re: XML Patch From: Nicholas Cole To: Python 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Mon, Oct 27, 2014 at 7:28 AM, Stefan Behnel 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.