def parse_enum_valid_value(self, sbe_enum, element):
    'parse and return an enum validvalue'
    attributes = self.parse_common_attributes(element, attributes=ENUM_VALID_VALUES_ATTRIBUTES_LIST)
    value = element.text
    enum_valid_value = createValidValue(value=value, **attributes)
    return enum_valid_value
parse and return an enum validvalue
def parse_enum_valid_value(self, sbe_enum, element):
    
    attributes = self.parse_common_attributes(element, attributes=ENUM_VALID_VALUES_ATTRIBUTES_LIST)
    value = element.text
    enum_valid_value = createValidValue(value=value, **attributes)
    return enum_valid_value