'Return the ``<w:style>`` child element having ``styleId`` attribute
matching *styleId*, or |None| if not found.'

def get_by_id(self, styleId):

    xpath = ('w:style[@w:styleId="%s"]' % styleId)
    try:
        return self.xpath(xpath)[0]
    except IndexError:
        return None
