This thesis presents a system for XML retrieval aimed at reducing the semantic gap between human understanding and computer processing of XML documents. It introduces a slot-tree ontology and a slot-filling algorithm to facilitate the mapping of XML content to a structured representation, enhancing both the query formulation process for users and the comprehension of documents by machines. Case studies on butterflies and protein information highlight the effectiveness and usability of the proposed retrieval system and its accompanying algorithms.