new extension to retrieve only those child xml element that contains a given attribute