function xmlrpc_server_output

Sends XML-RPC output to the browser.

Parameters

string $xml: XML to send to the browser.

2 calls to xmlrpc_server_output()

File

drupal/core/modules/xmlrpc/xmlrpc.server.inc, line 132
Page callback file for the xmlrpc module.

Code

function xmlrpc_server_output($xml) {
  $xml = '<?xml version="1.0"?>' . "\n" . $xml;
  drupal_add_http_header('Content-Length', strlen($xml));
  drupal_add_http_header('Content-Type', 'text/xml');
  echo $xml;
  drupal_exit();
}