This release adds namespace support and a whitespace stripping rule. There has ben some internal restructuring. ________________________________________________________________________ http://uche.ogbuji.net/tech/4Suite/anobind
Anobind is a Python/XML data binding, which is just a fancy way of saying it's a very Pythonic XML API.
You feed Anobind an XML document and it returns a data structure of corresponding Python objects. For example, the document
<monty> <python spam="eggs">What do you mean "bleh"</python> <python ministry="abuse">But I was looking for argument</python> </monty>
Would become a set of objects so that you could write
In order to get the value "eggs" or binding.monty.python.text_content() binding.monty.python.text_content()
In order to get the value "But I was looking for argument".
There are other such tools for Python, and what makes Anobind unique is that it's driven by a very declarative rules-based system for binding XML to the Python data. One can register rules that are triggered by XPatterns or plain Python code in order to register specialized binding behavior.
It also offers XPath support and some support for round-tripping documents.
Anobind is open source, provided under the 4Suite variant of the Apache license. It requires Python 2.2.2 and 4Suite 1.0a3.