@property
    def _start_tag(self):
        _nsdecls = nsdecls(*self.nspfxs) if self.is_root else ''
        tag = '%s<%s%s' % (self._indent_str, self._tagname, _nsdecls)
        for attr in self._attrs:
            name, value = attr
            tag += ' %s="%s"' % (name, value)
        if self._text:
            tag += '>%s' % self._text
        elif self._children:
            tag += '>\n'
        else:
            tag += '/>\n'
        return tag
The text of the opening tag of this element, including attributes. If
dataset/ETHPy150Open scanny/python-pptx/tests/unitutil/cxml.py/Element._start_tag