Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52118
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <dbarrosop@dravetech.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'scripts': 0.03; 'schema': 0.05; 'that?': 0.05; 'xml,': 0.05; 'definitions': 0.07; 'parsed': 0.09; 'xml.': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'given).': 0.16; 'hides': 0.16; 'of)': 0.16; 'subject:XML': 0.16; 'switches': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'pointed': 0.19; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'subject:/': 0.26; 'header :In-Reply-To:1': 0.27; 'point': 0.28; 'wondering': 0.29; 'am,': 0.29; 'xml': 0.29; 'vendor': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'libraries': 0.31; 'use?': 0.31; 'writes:': 0.31; 'thanks!': 0.32; 'received:209.85.212': 0.32; 'url:python': 0.33; 'could': 0.34; 'subject:with': 0.35; 'received:209.85': 0.35; 'classes': 0.35; 'definition': 0.35; 'received:google.com': 0.35; 'instances': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'skip:& 10': 0.38; 'does': 0.39; 'sure': 0.39; 'url:mail': 0.40; 'cisco': 0.68; 'start.': 0.84; '2013': 0.98 |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=fFF8MXwcMJatnMEllii0ah9RaZ4mKxGvNSGVEpmexrw=; b=PbVS/CyifD4ZpGktidk2WZpTjILQz2mBG5qhONLuFsPxTZ+EcFaS5JkRtjRaPNayVg +LjSncfixY3WKRUlvGXY8zufYmL6KyO+A9Ek8I6dW1iUC+OGc8Kpc1dcuN5QEukML+d/ oqjxYxWh0gHZFjZdd2G4kkKqLrDyXhzkUpvM9yT/E0FdE1NZmMEtINbGAsGiLBXsmBOI 8Riyoag1JtZVMs8ZzMyiD1aUv7ywao6s+QYbOUQ/3guEkc//t4jyR0mknpt2viSRPtIO D8sGvwTdAtg9Ts9Hw9ciKeW6Fd80oyCRe5An4Epm9cp3eb+cU2kqX5jIKAjHyUv+Sme2 sXSQ== |
| X-Gm-Message-State | ALoCoQmYf7+C3Rxe390qimPFBQCZd83AMJzX7zr5eNt81/KWJ5FNQusoU/4oI96dsEqVJf/KrI1l |
| MIME-Version | 1.0 |
| X-Received | by 10.180.109.35 with SMTP id hp3mr1178530wib.52.1375859185399; Wed, 07 Aug 2013 00:06:25 -0700 (PDT) |
| X-Originating-IP | [88.87.203.130] |
| In-Reply-To | <87y58em45u.fsf@handshake.de> |
| References | <CAObAkcbHxO6sQ33ACNXWSA82=sTc1HTKwMn88tw1Vk19AEsa5w@mail.gmail.com> <87y58em45u.fsf@handshake.de> |
| Date | Wed, 7 Aug 2013 09:06:25 +0200 |
| Subject | Re: Working with XML/XSD |
| From | David Barroso <dbarrosop@dravetech.com> |
| To | dieter <dieter@handshake.de> |
| Content-Type | multipart/alternative; boundary=e89a8f3ba25b01ced604e3562edd |
| X-Mailman-Approved-At | Wed, 07 Aug 2013 10:12:49 +0200 |
| Cc | python-list@python.org |
| 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 | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.303.1375863171.1251.python-list@python.org> (permalink) |
| Lines | 76 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1375863171 news.xs4all.nl 15997 [2001:888:2000:d::a6]:57600 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:52118 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
I will start looking to the links and libraries you pointed out. As the schema definitions are provided by the vendor I think I will go for PyXB. Thanks! On Wed, Aug 7, 2013 at 8:00 AM, dieter <dieter@handshake.de> wrote: > David Barroso <dbarrosop@dravetech.com> writes: > > > I was wondering if someone could point me in the right direction. I would > > like to develop some scripts to manage Cisco routers and switches using > > XML. However, I am not sure where to start. Does someone have some > > experience working with XML, Schemas and things like that? Which > libraries > > do you use? Do you know of any good tutorial? > > I made good experience with "PyXB". > > This package takes an XML-schema definition and generates Python classes > from it. XML documents (conforming to the schema) can be parsed into > instances of those classes and instances of those classes can > be serialized as XML documents. > > It hides well (many of) the complexities of XML-schema (if the > schemas are given). > > -- > http://mail.python.org/mailman/listinfo/python-list >
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Working with XML/XSD David Barroso <dbarrosop@dravetech.com> - 2013-08-07 09:06 +0200
csiph-web