Migration from lxml to cElementTree