in reply to XML search module

Sounds like you want to perform an XPath query (for "//Element_name"). There should be a module that executes XPath queries on an XML doc, and you should be able to get the parents of the objects returned.