#NEWLINE# def _testCodeListValue( elpath ) : #NEWLINE# #INDENT# ' get gco:CodeListValue_Type attribute, else get text content ' #NEWLINE# if ( elpath is not None ) : #NEWLINE# #INDENT# val = util . testXMLValue ( elpath . attrib . get ( 'codeListValue' ) , True ) #NEWLINE# if ( elpath is not None ) : #NEWLINE# #INDENT# return val #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return util . testXMLValue ( elpath ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# return None