Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Any Python XML Data Binding Utilities Avaiable?

Thread Tools

Any Python XML Data Binding Utilities Avaiable?

Posts: n/a
Hi, every one, happy new year!

I am working on XML with Python. I wonder if there is any XML Schema<->
Python Object mapping tools so that we can convert one to another.

Reply With Quote
Posts: n/a

I have heard about and played with pyRXP (from that
parses XML to pythonic objects. If you want a validating parser pyRXPu
(Unicode pyRXP, part of same distro) is recommended on xml forums.

There is another parser by Never tried it.

Also check out
1. for Python
XML recipes
2. - for
an XML to Object recipe.
3. - an
update to the above recipe by some other pythonista.

Item #2 above did not handle multiple occurances of elements well (or
may be it was me!), for example for multiple accounts in a download XML
config file I created, only got one account instance instead of 3.
Hope this helps.


Reply With Quote
Uche Ogbuji
Posts: n/a
Sounds like generateDS is closest to what you want:

If you can bind from instances only and don't need schema, see Amara

Also consider Gnosis Utilities and ElementTree.

Uche Ogbuji Fourthought, Inc.
Use CSS to display XML -
Full XML Indexes with Gnosis -
Be humble, not imperial (in design) - 1.0 -
Use Universal Feed Parser to tame RSS -
Default and error handling in XSLT lookup tables -
A survey of XML standards -
The State of Python-XML in 2004 -

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
501 PIX "deny any any" "allow any any" Any Anybody? Networking Student Cisco 4 11-16-2006 10:40 PM
tuneup utilities 2006 any good sheila Computer Support 5 10-28-2005 04:48 AM
are there any BT utilities to list the torrents hosted by a tracker? anthonyberet Computer Support 2 07-02-2004 07:48 PM
Any utilities to remove the ALL the Microsoft formatting tags? Shiperton Henethe HTML 169 09-26-2003 04:16 AM
USB drives & Partition Utilities....Does any work? Arawak Computer Support 1 08-17-2003 12:46 PM