@classmethod<EOL><INDENT>def get_named_by_definition(cls, element_list, string_def):<DEDENT>
try:<EOL><INDENT>return next(<EOL>(<EOL>st.value<EOL>for st in element_list<EOL>if st.definition == string_def<EOL>)<EOL>)<EOL><DEDENT>except Exception:<EOL><INDENT>return None<EOL><DEDENT>
Attempts to get an IOOS definition from a list of xml elements