'Return the ``<w:style>`` child element having ``<w:name>`` child
element with value *name*, or |None| if not found.'

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
