#NEWLINE# def _getText( nodelist ) : #NEWLINE# #INDENT# '\n    Simple function to return value from XML\n    ' #NEWLINE# rc = [ ] #NEWLINE# for node in nodelist : #NEWLINE# #INDENT# if ( node . nodeType == nodelist . TEXT_NODE ) : #NEWLINE# #INDENT# rc . append ( node . data ) #NEWLINE# #UNINDENT# #UNINDENT# return '' . join ( rc )