Now-a-days, eXtensible Markup Language (XML) documents play vital role in storing the database in different organizations. This is because of their rich and flexibility in retrieving the required information. As the requirement of XML data is ever-increasing, there is an increasing need for efficient processing of queries on XML data to extract the occurrences of a tree pattern query. To query XML document there is a need to use any one of the XML query languages, this requires a basic knowledge about the language such as syntax to write a query. This paper provides user interface to query the XML document.