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)

    Our children evaluate themselves based on the opinions we have of them. When we use harsh words, biting comments, and a sarcastic tone of voice, we plant the seeds of self-doubt in their developing minds.... Children who receive a steady diet of these types of messages end up feeling powerless, inadequate, and unimportant. They start to believe that they are bad, and that they can never do enough.
    Stephanie Martson (20th century)