[lxml] Re: getparent() fails with "AttributeError: 'list' object has no attribute 'getparent' "