Working with XML/XSD

dieter dieter at handshake.de
Wed Aug 7 02:00:13 EDT 2013


David Barroso <dbarrosop at 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).




More information about the Python-list mailing list