Abstract
The enormous amount of internet causes huge amount of data to be stored and processed which contains structured and semi structured formats. Due to extreme size of semi structured document, results of a particular query may be vast which leads to retrieving interpretable knowledge a tedious process. The query-answering system makes it achievable to make queries and retrieve results for XML documents and reduce processing of tremendous size data. This query-answering system uses XQuery, language for querying XML document. In this project, we propose a method for retrieving the results for the queries made by the users on the XML document. The original XML document is translated to Tree-based association rules (TAR) files which were formed by frequent patterns on the original document. TAR files provide intensional information on the structure and content of XML document. Also to propose a method for dynamically updating the TAR files when the dataset changes.