Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
XML-RPC
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Data types== Common [[datatype]]s are converted into their XML equivalents with example values shown below: {| class="wikitable" !Name !Tag Example !Description |- |array | <syntaxhighlight lang="xml"> <array> <data> <value><i4>1404</i4></value> <value><string>Something here</string></value> <value><i4>1</i4></value> </data> </array> </syntaxhighlight> |[[Array data structure|Array]] of values, storing no keys |- |base64 | <syntaxhighlight lang="xml"> <base64>eW91IGNhbid0IHJlYWQgdGhpcyE=</base64> </syntaxhighlight> |[[Base64]]-encoded binary data |- |boolean | <syntaxhighlight lang="xml"> <boolean>1</boolean> </syntaxhighlight> |[[Boolean data type|Boolean]] logical value (0 or 1) |- |date/time | <syntaxhighlight lang="xml"> <dateTime.iso8601>19980717T14:08:55Z</dateTime.iso8601> </syntaxhighlight> |Date and time in [[ISO 8601]] format |- |double | <syntaxhighlight lang="xml"> <double>-12.53</double> </syntaxhighlight> |[[Double precision]] floating point number |- |integer | <syntaxhighlight lang="xml"> <int>42</int> </syntaxhighlight> or <syntaxhighlight lang="xml"> <i4>42</i4> </syntaxhighlight> |Signed [[integer]] coded on 4 bytes |- |string | <syntaxhighlight lang="xml"> <string>Hello world!</string> </syntaxhighlight> or <syntaxhighlight lang="xml"> Hello world! </syntaxhighlight> |String of characters. Must follow [[XML#Characters and escaping|XML encoding]]. |- |struct | <syntaxhighlight lang="xml"> <struct> <member> <name>foo</name> <value><i4>1</i4></value> </member> <member> <name>bar</name> <value><i4>2</i4></value> </member> </struct> </syntaxhighlight> |[[Associative array]] |- |nil | <syntaxhighlight lang="xml"> <nil/> </syntaxhighlight> |[[nullable type|Discriminated null value]]; an XML-RPC [https://web.archive.org/web/20050911054235/http://ontosys.com/xml-rpc/extensions.php extension] | |- |long | <syntaxhighlight lang="xml"> <i8>1312</i8> </syntaxhighlight> |Signed integer coded on 8 bytes. This is not part of the specification, but it is supported by several XML-RPC implementations<ref>{{cite web |title=RPC::XML - A set of classes for core data, message and XML handling - metacpan.org |url=https://metacpan.org/pod/RPC::XML |access-date=13 April 2025}}</ref>{{,}}<ref>{{cite web |title=User manual for XML-RPC For C/C++ |url=https://xmlrpc-c.sourceforge.io/doc/libgeneral.html |access-date=13 April 2025}}</ref> |}
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
XML-RPC
(section)
Add topic