Stefan Behnel a écrit : > Laurent Pointal wrote: >> does anybody know about an XML parser usable with the sax API (xml.sax) >> and with XInclude feature support (directly or via hacks). > > Try lxml.etree. > > http://codespeak.net/lxml/ > > http://codespeak.net/lxml/tutorial.html > http://codespeak.net/lxml/api.html#xinclude-and-elementinclude > http://codespeak.net/lxml/parsing.html#iterparse-and-iterwalk > > It's not half as complicated as SAX, BTW. > > Stefan
I've already used ElementTree for XML tree manipulations in some projects... will try to adapt my sax based processing to lxml using those links. Thanks, Laurent. -- http://mail.python.org/mailman/listinfo/python-list