Ranking and coming back probably the most relevant outcomes of a question have grown to be typically the most popular paradigm in XML query processing. To deal with this issue, we first propose a classy framework of query relaxations for supporting approximate queries over XML data. The solutions underlying this framework aren't compelled to strictly fulfill the given query formulation rather, they may be founded on qualities inferable in the original query. However, the present proposals don't adequately take structures into consideration, plus they, therefore, don't have the strength to stylishly combine structures with contents to reply to the relaxed queries. Within our solution, we classify nodes into two groups: categorical attribute ...