with AXMLDocument it is possible to index a set of XML document (dtd address/book)
It use PyXML and xsltproc ( gnome xslt )
a explanation in french http://www.zopera.org/Members/christophe/indexation