is there a reason you weren't more explicit with the xmlns? you should probably use this module: https://github.com/dimagi/commcare-hq/blob/master/custom/bihar/calculations/utils/xmlns.py