Efficient Indexing and Querying XML Data Using Element Type in a Dynamic Environment