identifies multiple tagnames within a selection