tests/types.R

library(XMLRPC)
library(XML)

doc = xmlParse('xmlrpcTypes.xml')
top = xmlRoot(doc)

XMLRPC:::xmlRPCToR(top[["array"]])
XMLRPC:::xmlRPCToR(top[["struct"]])

XMLRPC:::xmlRPCToR(top[["base64"]])

xmlApply(top, XMLRPC:::xmlRPCToR)


##############

# Round trip the data.
x = XMLRPC:::rpc.serialize(1:10)
XMLRPC:::xmlRPCToR(x)

Try the XMLRPC package in your browser

Any scripts or data that you put into this service are public.

XMLRPC documentation built on May 2, 2019, 4:43 p.m.