[XML-SIG] ANN: Anobind 0.6.0
Uche Ogbuji
uche.ogbuji at fourthought.com
Wed Sep 24 23:17:15 EDT 2003
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
binding.monty.python.spam
In order to get the value "eggs" or
binding.monty.python[1].text_content()
binding.monty.python[1].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.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Introducing Anobind - http://www.xml.com/pub/a/2003/08/13/py-xml.html
XML Topic Maps by the book - http://www-106.ibm.com/developerworks/xml/library/x-think19.html
Charming Jython - http://www-106.ibm.com/developerworks/java/library/j-jython.html
Python, Web services, and XSLT - http://www-106.ibm.com/developerworks/xml/library/ws-pyth13/
Perspective on XML: What is this 'agility'? - http://www.adtmag.com/article.asp?id=8004
More information about the XML-SIG
mailing list