You could also use rt_xmlrpcfile::parse and rt_xmlrpcfile::print from my XML-RPC library. http://barnett.id.au/idl/ Robbie