def _parse_template(self, element):
        """
        Parse the response template
        :param element: The XML Element object
        :type  element: etree._Element
        """
        # If the response element has no tags, just store the raw text as the only response
        if not len(element):
            self._response = (newlines_to_spaces(element.text),)
            self._log.info('Assigning text only response')
            return

        # Otherwise, parse the tags now
        self._response = tuple(self.agentml.parse_tags(element, self.trigger))