function services_xml_output in Services 5
Same name and namespace in other branches
- 6 services.module \services_xml_output()
- 6.2 services.module \services_xml_output()
- 7 services.module \services_xml_output()
1 call to services_xml_output()
File
- ./
services.module, line 284 - The module which provides the core code for drupal services
Code
function services_xml_output($xml) {
$xml = '<?xml version="1.0"?>' . "\n" . $xml;
header('Connection: close');
header('Content-Length: ' . strlen($xml));
header('Content-Type: text/xml');
header('Date: ' . date('r'));
echo $xml;
exit;
}