In this paper, we describe XMLIndex, a system for indexing and querying XML documents. The overall architecture of this system contains many of the traditional database system components, but extends them to XML documents. We describe the implementation of the system and the mechanism we developed by which XMLIndex can retrieve the data from XML documents efficiently in a very user-friendly way using a graphical user interface. We also compare the execution time for some queries running on this system, and the impact of creating the indexes on the performance.