Markup Data Types

The following types are used when defining attributes in Barnebys Markup protocol

TypeDescriptionLiterals
BooleanA Boolean represents a true or false valuetrue,false,1,0
DateTimeA DateTime represent a temporal value composed of a date (year, month, day) and an optional time component (hours, minutes)ISO 8601
FloatA floating point number1.234 -1.234
IntegerAn integer1234 -1234
StringA sequence of Unicode charactersAll literals comosed of Unicoce characters with no escape characters
URLA sequence of Unicode characters that identify an Internet resourceAll valid URLs that utilize the http:// or https:// protocols
CurrencyA sequence of latin characters with a length of three.ISO 4217
CountryTwo-letter country code.ISO 3166
CityThree-letter city code from LOCODE standard .LOCODE
StateA subdivision name from ISO-3166-2 standard.ISO 3166-2