Efficient Indexing and Querying in XML Databases