XML-RPC - Data Types

Data Types

Common datatypes are converted into their XML equivalents with example values shown below:

Name Tag Example Description
array 1404 Something here 1 Array of values, storing no keys
base64 eW91IGNhbid0IHJlYWQgdGhpcyE= Base64-encoded binary data
boolean 1 Boolean logical value (0 or 1)
date/time 19980717T14:08:55 Date and time in ISO 8601 format
double -12.53 Double precision floating point number
integer 42

or

42
Whole number, integer
string Hello world! String of characters. Must follow XML encoding.
struct foo 1 bar 2 Associative array
nil Discriminated null value; an XML-RPC extension

Read more about this topic:  XML-RPC

Famous quotes containing the words data and/or types:

    “Mental health data from the 1950’s on middle-aged women showed them to be a particularly distressed group, vulnerable to depression and feelings of uselessness. This isn’t surprising. If society tells you that your main role is to be attractive to men and you are getting crow’s feet, and to be a mother to children and yours are leaving home, no wonder you are distressed.”
    —Grace Baruch (20th century)

    “As for types like my own, obscurely motivated by the conviction that our existence was worthless if we didn’t make a turning point of it, we were assigned to the humanities, to poetry, philosophy, painting—the nursery games of humankind, which had to be left behind when the age of science began. The humanities would be called upon to choose a wallpaper for the crypt, as the end drew near.”
    —Saul Bellow (b. 1915)