Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52040
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <burak.arslan@arskom.com.tr> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'scripts': 0.03; 'schema': 0.05; 'that?': 0.05; 'xml,': 0.05; 'definitions': 0.07; 'release,': 0.09; 'xml.': 0.09; 'python': 0.11; 'burak': 0.16; 'from:addr:arskom.com.tr': 0.16; 'from:addr:burak.arslan': 0.16; 'from:name:burak arslan': 0.16; 'message-id:@arskom.com.tr': 0.16; 'received:arskomhosting.com': 0.16; 'subject:XML': 0.16; 'switches': 0.16; 'types,': 0.16; 'wrote:': 0.18; 'library': 0.18; 'header:User-Agent:1': 0.23; 'parse': 0.24; 'define': 0.26; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'wondering': 0.29; 'xml': 0.29; 'libraries': 0.31; 'use?': 0.31; 'could': 0.34; 'subject:with': 0.35; 'objects': 0.35; 'hi,': 0.36; 'to:addr:python-list': 0.38; 'does': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'according': 0.40; 'documents,': 0.60; 'cisco': 0.68; 'start.': 0.84; 'them)': 0.84 |
| Date | Tue, 06 Aug 2013 16:33:16 +0300 |
| From | Burak Arslan <burak.arslan@arskom.com.tr> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130711 Thunderbird/17.0.7 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Working with XML/XSD |
| References | <CAObAkcbHxO6sQ33ACNXWSA82=sTc1HTKwMn88tw1Vk19AEsa5w@mail.gmail.com> |
| In-Reply-To | <CAObAkcbHxO6sQ33ACNXWSA82=sTc1HTKwMn88tw1Vk19AEsa5w@mail.gmail.com> |
| X-Enigmail-Version | 1.5.2 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| 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.252.1375795994.1251.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1375795994 news.xs4all.nl 15872 [2001:888:2000:d::a6]:33361 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:52040 |
Show key headers only | View raw
On 08/06/13 01:56, David Barroso wrote: > Hello, > 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? > Hi, I develop Spyne (http://spyne.io), it does let you define Xml Schema types, generate the Schema documents, (and in the upcoming release, parse them) and also does both serialization and deserialization of python objects from and to xml according to definitions in the xml schema. It also does RPC :) In case you don't want to use a framework, use lxml, it's a very good xml manipulation library based on libxml2/libxslt. You can use lxml.objectify for xml serialization as well. Best, Burak
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Working with XML/XSD Burak Arslan <burak.arslan@arskom.com.tr> - 2013-08-06 16:33 +0300
csiph-web