XML: SAX and XInclude
Stefan Behnel
stefan.behnel-n05pAM at web.de
Mon Sep 10 09:39:27 EDT 2007
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
More information about the Python-list
mailing list