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


Groups > comp.lang.python > #52040 > unrolled thread

Re: Working with XML/XSD

Started byBurak Arslan <burak.arslan@arskom.com.tr>
First post2013-08-06 16:33 +0300
Last post2013-08-06 16:33 +0300
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Working with XML/XSD Burak Arslan <burak.arslan@arskom.com.tr> - 2013-08-06 16:33 +0300

#52040 — Re: Working with XML/XSD

FromBurak Arslan <burak.arslan@arskom.com.tr>
Date2013-08-06 16:33 +0300
SubjectRe: Working with XML/XSD
Message-ID<mailman.252.1375795994.1251.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web