WordPress at a glance
function is not described

IXR_Error::getXml() public WP 1.0

{} It's a method of the class: IXR_Error{}

No Hooks.

Return

Null. Nothing.

Usage

$IXR_Error = new IXR_Error();
$IXR_Error->getXml();

Code of IXR_Error::getXml() WP 5.5.1

<?php
function getXml()
{
    $xml = <<<EOD
<methodResponse>
  <fault>
<value>
  <struct>
    <member>
      <name>faultCode</name>
      <value><int>{$this->code}</int></value>
    </member>
    <member>
      <name>faultString</name>
      <value><string>{$this->message}</string></value>
    </member>
  </struct>
</value>
  </fault>
</methodResponse>

EOD;
    return $xml;
}