@property
    def _cat_pt_xml(self):
        """
        The unicode XML snippet for the ``<c:pt>`` elements containing the
        category names for this series.
        """
        xml = ''
        for idx, name in enumerate(self._categories):
            xml += (
                '                <c:pt idx="%d">\n'
                '                  <c:v>%s</c:v>\n'
                '                </c:pt>\n'
            ) % (idx, escape(str(name)))
        return xml
dataset/ETHPy150Open scanny/python-pptx/pptx/chart/data.py/_SeriesData._cat_pt_xml/original