XML-RPC Array Data Type
In XML-RPC, Numerically indexed arrays are passed as a single structure within the value element. Arrays are defined with a specific structure of child elements.
Example Declaration:
<params> <param> <value> <array> <data> <value><string>Two</string></value> <value><boolean>1</boolean></value> <value><double>42.307400</double></value> </data> </array> </value> </param> </params>
The array tag defines the value of the parameter as an array, and the data tag indicates the start of array data. There is a value element for each item in the array and they may have children elements that define the data type of the value. Arrays can be recursive. Within each value element, can be another array as long as they contain the array/data/value descendant sequence.
Filed Under: PHP XML