code: def get_text(nodelist):
      
  
      s = ''
      for node in nodelist:
          if node.nodeType == Node.TEXT_NODE:
              s += node.nodeValue + ', '
  
      if len(s)>0: s = s[:-2]
      return s
docs: Return a concatenation of text fields from list of nodes