Mapping between simple 4GL and XML data types

The attributes listed in this table cannot have values.

Table 1. Mapping between simple 4GL and XML data types
Attribute Definition
XSDAnySimpleType Map 4GL STRING or VARCHAR to XML Schema simpleType.
XSDAnyType Map 4GL STRING or VARCHAR to XML Schema anyType.
XSDAnyURI Map 4GL STRING or VARCHAR to XML Schema anyURI.
XSDBase64binary Map 4GL BYTE to the XML Schema base64binary.
XSDBoolean Map 4GL BOOLEAN, SMALLINT or INTEGER to XML Schema boolean.
XSDByte Map 4GL TINYINT, SMALLINT or BIGINT to XML Schema byte.
XSDDate Map 4GL DATE or DATETIME to XML Schema date.
XSDDateTime Map 4GL DATETIME to XML Schema dateTime.
XSDDecimal Map 4GL DECIMAL to XML Schema decimal.
XSDDouble Map 4GL FLOAT to XML Schema double.
XSDDuration Map 4GL INTERVAL to XML Schema duration.
XSDEntities Map 4GL STRING or VARCHAR to XML Schema entities.
XSDEntity Map 4GL STRING or VARCHAR to XML Schema entity.
XSDFloat Map 4GL SMALLFLOAT to XML Schema float.
XSDGday Map 4GL DATETIME to XML Schema gDay.
XSDGMonth Map 4GL DATETIME to XML Schema gMonth.
XSDGMonthDay Map 4GL DATETIME to XML Schema gMonthDay.
XSDGYear Map 4GL DATETIME to XML Schema gYear.
XSDGYearMonth Map 4GL DATETIME to XML Schema gYearMonth.
XSDHexBinary Map 4GL BYTE to XML Schema hexBinary.
XSDID Map 4GL STRING or VARCHAR to XML Schema id.
XSDIDREF Map 4GL STRING or VARCHAR to XML Schema idRef.
XSDIDREFS Map 4GL STRING or VARCHAR to XML Schema idRefs.
XSDInt Map 4GL INTEGER or BIGINT to XML Schema int.
XSDInteger Map 4GL DECIMAL to XML Schema integer.
XSDLanguage Map 4GL STRING or VARCHAR to XML Schema language.
XSDLong Map 4GL BIGINT or DECIMAL to XML Schema long.
XSDNCName Map 4GL STRING or VARCHAR to XML Schema NCName.
XSDName Map 4GL STRING or VARCHAR to XML Schema Name.
XSDNegativeInteger Map 4GL DECIMAL to XML Schema negativeInteger.
XSDNMTOKEN Map 4GL STRING or VARCHAR to XML Schema NMToken.
XSDNMTOKENS Map 4GL STRING or VARCHAR to XML Schema NMTokens.
XSDNonNegativeInteger Map 4GL DECIMAL to XML Schema nonNegativeInteger.
XSDNonPositiveInteger Map 4GL DECIMAL to XML Schema nonPositiveInteger.
XSDNormalizedString Map 4GL STRING or VARCHAR to XML Schema normalizedString.
XSDNotation Not supported.
XSDPositiveInteger Map 4GL DECIMAL to XML Schema positiveInteger.
XSDQName Map 4GL STRING or VARCHAR to XML Schema QName.
XSDShort Map 4GL SMALLINT or BIGINT to XML Schema short.
XSDString Map 4GL STRING , Char, Text or VarChar to XML Schema string.
XSDTime Map 4GL DATETIME to XML Schema time.
XSDToken Map 4GL STRING or VARCHAR to XML Schema token.
XSDUnsignedByte Map 4GL SMALLINT or BIGINT to XML Schema unsignedByte.
XSDUnsignedInt Map 4GL BIGINT or DECIMAL to XML Schema unsignedInt.
XSDUnsignedLong Map 4GL DECIMAL to XML Schema unsignedLong.
XSDUnsignedShort Map 4GL INTEGER or BIGINT to XML Schema unsignedShort.