def get_by_name(self, name):
        xpath = 'w:style[w:name/@w:val="%s"]' % name
        try:
            return self.xpath(xpath)[0]
        except IndexError:
            return None
Return the ``<w:style>`` child element having ``<w:name>`` child
dataset/ETHPy150Open python-openxml/python-docx/docx/oxml/styles.py/CT_Styles.get_by_name