Querying XML documents by using association rules