Sullivan WxPyQtKinter wrote: > My search needs: > 1. Search and return all the record (an element) with specific id. > 2. Search and return all the record whose child nodes has a specific id > or attribute.
Try lxml, which is based on the libxml2 library. The current SVN version has support for xml:id through the XMLDTDID function. It simply returns an XML tree and an ID dictionary. http://codespeak.net/lxml Stefan -- http://mail.python.org/mailman/listinfo/python-list