@ensure_tag(['p'])
def get_ilvl(li, w_namespace):
    ilvls = li.xpath('.//w:ilvl', namespaces=li.nsmap)
    if len(ilvls) == 0:
        return -1
    return int(ilvls[0].get('%sval' % w_namespace))
Create a new drop index command on the blueprint.
dataset/ETHPy150Open PolicyStat/docx2html/docx2html/core.py/get_ilvl--crossover with--dataset/ETHPy150Open sdispater/orator/orator/schema/blueprint.py/Blueprint._drop_index_command