May `e.Attribute()` return null? If so, the next line will raise NRE.