code: def _getText(nodelist):
      '''
      Simple function to return value from XML
      '''
      rc = []
      for node in nodelist:
          if node.nodeType == node.TEXT_NODE:
              rc.append(node.data)
      return ''.join(rcf _getText(nodelist):
      '''
      Simple function to return value from XML
      '''
      rc = []
      for node in nodelist:
          if node.nodeType == node.TEXT_NODE:
              rc.append(node.data)
      return ''.join(rc)
docs: Simple function to return value from XML