code: def get_contents(self, element):
          
          return [Response(self.trigger, child, self.file_path)
                  for child in element if child.tag in ['response', 'template']]
docs: Retrieve the contents of an element
          :param element: The XML Element object
          :type  element: etree._Element
  
          :return: A list of responses
          :rtype : list of Response