Filtering on global element/attribute declarations