PYTHON xmlrpc_encode

is this article helpful?
Python replacement for PHP's xmlrpc_encode [ edit | history ]
# default python lib python-2.6.6-36.el6.x86_64 at CentOS 6.3
import xmlrpclib

params = {}
params = 'value1'
params = 'value2'

# .dumps expect a tuple
xmlrpc_encoded = xml_in = xmlrpclib.dumps((params,))

PHP xmlrpc_encode

PHP original manual for xmlrpc_encode [ show | ]


(PHP 4 >= 4.1.0, PHP 5)

xmlrpc_encodeGenerates XML for a PHP value


string xmlrpc_encode ( mixed $value )

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.


This function is currently not documented; only its argument list is available.