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:

    To write it, it took three months; to conceive it three minutes; to collect the data in it—all my life.
    F. Scott Fitzgerald (1896–1940)

    The rank and file have let their servants become their masters and dictators.... Provision should be made in all union constitutions for the recall of leaders. Big salaries should not be paid. Career hunters should be driven out, as well as leaders who use labor for political ends. These types are menaces to the advancement of labor.
    Mother Jones (1830–1930)