#NEWLINE# def _resolve_style( self , element ) : #NEWLINE# #INDENT# atom_link = [ atom_link for n in element . getchildren ( ) if ( 'href' in n . attrib ) ] #NEWLINE# if atom_link : #NEWLINE# #INDENT# style_workspace_url = atom_link [ 0 ] . attrib . get ( 'href' ) #NEWLINE# return self . catalog . get_style_by_url ( style_workspace_url )