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)

    ... there are two types of happiness and I have chosen that of the murderers. For I am happy. There was a time when I thought I had reached the limit of distress. Beyond that limit, there is a sterile and magnificent happiness.
    Albert Camus (1913–1960)