def exportAttributes(self, lwrite, level, already_processed, namespace_='ttp:', name_='TTP'):
        super(TTPType, self).exportAttributes(lwrite, level, already_processed, namespace_, name_='TTP')
        #if 'xmlns' not in already_processed:
        #    already_processed.add('xmlns')
        #    xmlns = " xmlns:%s='%s'" % (self.xmlns_prefix, self.xmlns)
        #    lwrite(xmlns)
        if 'xsi:type' not in already_processed:
            already_processed.add('xsi:type')
            xsi_type = " xsi:type='%s:%s'" % (self.xmlns_prefix, self.xml_type)
            lwrite(xsi_type)
        if self.version is not None and 'version' not in already_processed:
            already_processed.add('version')
            lwrite(' version=%s' % (quote_attrib(self.version), ))
dataset/ETHPy150Open STIXProject/python-stix/stix/bindings/ttp.py/TTPType.exportAttributes/original