src/OaiPmh/RecordXmlFormatter.php
protected function performGlobalReplace($xml)
    {
        return empty($this->globalSearch)
            ? $xml
            : preg_replace($this->globalSearch, $this->globalReplace, $xml);
    }
protected function performGlobalReplace($xml)
    {
        return empty($this->globalSearch)
            ? $xml
            : preg_replace($this->globalSearch, $this->globalReplace, $xml);
    }
protected function performGlobalReplace ( $ xml ) { return empty ( $ this -> globalSearch ) ? $ xml : preg_replace ( $ this -> globalSearch , $ this -> globalReplace , $ xml ) ; }
Perform global search and replace.

@param string $xml XML to update.

@return string
Perform global search and replace .