handling attribute values in element-list