Query processing using views in semistructured databases