alp: use cElementTree if available