

@ensure_tag(['p'])
def get_numId(li, w_namespace):
    '\n    The numId on an li tag maps to the numbering dictionary along side the ilvl\n    to determine what the list should look like (unordered, digits, lower\n    alpha, etc)\n    '
    numIds = li.xpath('.//w:numId', namespaces=li.nsmap)
    if (len(numIds) == 0):
        return (- 1)
    return numIds[0].get(('%sval' % w_namespace))

dataset/ETHPy150Open PolicyStat/docx2html/docx2html/core.py get_numId/original