Parses an XML GATT definition and creates an object which can be used to generate attribute values.