Abstract – This paper we are written to store XML data in XML formats for Security purpose. Here we compute the problem of efficiently creating ranked result for keyword search query in XML document. In old methods there are Xlink Xpath and Xquery are query methods available to search data in XML file of XML DB. Here the method new users are not able to understand syntax of query when accessing the query, in this steps first write query, put forward to the system and retrieve relevant results. In case of keyword search there is the fuzzy type ahead search over XML data that user write a keyword search on fly way and access a new information pattern, This method are optional to old methods ,The users didn’t need to know knowledge of XML query languages and its syntax. We are also adding a user study confirming that keyword-based search in SQL for a range of DB retrieval task. The query time, the text index carry keyword-based searches with giving interactive answer. Successful keyword search is valuable for top-k in XML document, these are user simply manage, semantic and steer into documents. The effective XML keyword based search with significance ranking is an approach that contains ambiguities, because a keyword can seem in a name tag or a text value of each XML node. The top-k queries on high multi-attribute data sets are basic operations in information retrieval and top-k order application. We have used top-k it can be find approximate answer in top ranking system in XML document more successfully and efficiently.