Nice quote
Walter Dörwald
walter at livinglogic.de
Mon Mar 31 14:02:24 EST 2003
Jeremy Bowers wrote:
> [XML, SAX & DOM]
> Personally, I've been noodling around with the idea of some sort of
> declarative syntax where you tell the parser what you're expecting and it
> presents you with an object model constructed using classes you give it.
> Kind of an "XSL" transformation that goes straight to custom classes.
> In other words, stronger support for what amounts to deserialization,
> which is what I find myself needing most when I'm using XML. (YMMV of
> course.) I haven't looked around enough to know if such a beast already
> exists;
You might want to take a look at XIST (available from
http://www.livinglogic.de/Python/xist). XIST has a tree API for
XML that is very Pythonic and uses custom classes, i.e. every element
type is a class.
Bye,
Walter Dörwald
More information about the Python-list
mailing list