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)

    The bourgeoisie loves so-called “positive” types and novels with happy endings since they lull one into thinking that it is fine to simultaneously acquire capital and maintain one’s innocence, to be a beast and still be happy.
    Anton Pavlovich Chekhov (1860–1904)