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


Groups > comp.lang.python > #52118

Re: Working with XML/XSD

References <CAObAkcbHxO6sQ33ACNXWSA82=sTc1HTKwMn88tw1Vk19AEsa5w@mail.gmail.com> <87y58em45u.fsf@handshake.de>
Date 2013-08-07 09:06 +0200
Subject Re: Working with XML/XSD
From David Barroso <dbarrosop@dravetech.com>
Newsgroups comp.lang.python
Message-ID <mailman.303.1375863171.1251.python-list@python.org> (permalink)

Show all headers | 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


Thread

Re: Working with XML/XSD David Barroso <dbarrosop@dravetech.com> - 2013-08-07 09:06 +0200

csiph-web