function ReadAttributeInteger(const AName: Utf8String; ADefault: integer): integer; virtual;
Description
Find the attribute with AName, and convert its value to an integer. If the attribute is not found, or cannot be converted, the default ADefault will be returned.