ANN: xmldict 1.1

I

Ivan Voras

As it seems that few people are actually using this, I've made a small
update to xmldict library, available here:

http://ivoras.sharanet.org/xmldict.py.gz

Some border-cases involving empty tags and atributes are resolved, and
examples are updated.

WHAT IS IT
----------

It's a very small (8KB, possibly < 6KB without comments & examples) pure
python parser for XML data. It doesn't care about fancy things like
validation, and will probably break in silly ways on malformed input.
Its only goal is to convert simple XML into nested dictionary-like
structures. You'd be crazy to use it instead of a real parser for
arbitrary XML, but it's perfect for parsing configuration files and the
occasional XML-based network protocol. It uses only sys and re
libraries, but can easily be reworked to be self-sufficient.

Again, test carefully before use, no gurantees that it will work, etc.

Happy hollidays!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,274
Messages
2,571,372
Members
48,064
Latest member
alibsskemoSeAve

Latest Threads

Top