def init_response_attributes(self, etree):
        try:
            self.backend_transaction_id = etree.xpath('//MSS_SignatureResp')[0].attrib[
                'MSSP_TransID'
            ]
            self.status = etree.xpath(
                '//ns6:StatusCode', namespaces={'ns6': self.ns_namespace}
            )[0].attrib['Value']
        except (IndexError, KeyError, lxml.etree.XMLSchemaError) as e:
            raise ResponseParseError(
                'Cannot parse signature response: %s. Response content: %s'
                % (e, lxml.etree.tostring(etree))
            )