#NEWLINE# def _get_text( self , nodes ) : #NEWLINE# #INDENT# 'Concatenates the text from several XML nodes.\n\n    Args:\n      nodes: List of XML nodes.\n\n    Returns:\n      A string of concatenated text nodes.\n    ' #NEWLINE# rc = [ ] #NEWLINE# for node in nodes : #NEWLINE# #INDENT# if ( node . nodeType == node . TEXT_NODE ) : #NEWLINE# #INDENT# rc . append ( node . data ) #NEWLINE# #UNINDENT# #UNINDENT# return '' . join ( self )