Consultor Eletrônico



Kbase P43590: The SET-ATTRIBUTE method will not accept an integer data typ
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/09/2003
Status: Unverified

SYMPTOM(s):

The SET-ATTRIBUTE method will not accept an integer data type

Wants the attribute in the resulting XML file to not have double quotes around it

CAUSE:

The XML standards require that all attributes be surrounded by double quotes which is why the SET-ATTRIBUTE method requires a character string value (i.e. you need to do the appropriate conversion from the non-character data type to the character data type so that the proper value, according to your definitions, is stored in the attribute)

FIX:

Convert the non-character data type to the character data type using the STRING function (you can use the optional second parameter for provide a specific format string)