Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'xml,': 0.05; 'json': 0.07; 'mind,': 0.09; 'subject:using': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'any.': 0.16; 'corresponds': 0.16; 'equivalents': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'notations': 0.16; 'subject:XML': 0.16; 'types,': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'subject:project': 0.19; 'cc:addr:python.org': 0.22; 'closely': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'converting': 0.30; 'message-id:@mail.gmail.com': 0.30; 'subject:with': 0.35; 'basic': 0.35; "can't": 0.35; 'convert': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'how': 0.40; 'more': 0.64; 'between': 0.67; '2015': 0.84; 'subject:you': 0.87; 'to:none': 0.92 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:cc :content-type; bh=whTDb3cyUKrxY579Uupt+9qywOaM1RYfc23C3eCq9JQ=; b=lmCF29yutkN+fBrGPXfW+vrBPpNo1y+JFlzZfj487krHi6hKbhvhwzTQqPFvkXKyXN iLa0Rx+dUhYtmSK/6tC/IydcQEAD3fJnOAV70GVVJiBwtY+xpPyzkt8EZVVdpFLnQmMT h9ETbP1v/MaG8PiU8/z2gv1EXermZ5bm9COxGFJziYfI2GlWqr29tNVkObS6TyaBavvB vgDAnLfSnkcMu83mNuYeofBucD69ezd7XRZKYuqS6oHb0h12900t1243eeFjuvdDP1WX /ll1XFkIepp+bXkGgYS8WMAf5Ah4ULedwYykLcFH4ECX1QsBWREfhTJgtCvqcb8EdrMm mHrQ== MIME-Version: 1.0 X-Received: by 10.107.7.94 with SMTP id 91mr81144266ioh.27.1420509357316; Mon, 05 Jan 2015 17:55:57 -0800 (PST) In-Reply-To: References: <55e354fd-a5bc-4f1f-a59a-55951fe81ca3@googlegroups.com> <792cb61b-d351-4b4b-aa7b-35e959111c0a@googlegroups.com> Date: Tue, 6 Jan 2015 12:55:57 +1100 Subject: Re: If you were starting a project with XML datasource using python From: Chris Angelico Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1420509359 news.xs4all.nl 2936 [2001:888:2000:d::a6]:57467 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:83262 On Tue, Jan 6, 2015 at 11:49 AM, Dennis Lee Bieber wrote: >>So you would convert it to json so it can then be stored? >> > NO! > > JSON and XML, in my mind, are equivalents -- (human-readable) notations > for transferring data between applications. JSON may just have fewer > "options" for how to notate basic data. JSON corresponds much more closely to Python data types, but converting from one to the other can't improve matters any. ChrisA