source/Application/Controller/Admin/DynamicExportBaseController.php
public function prepareXML($sInput)
    {
        $sOutput = str_replace("&", "&amp;", $sInput);
        $sOutput = str_replace("\"", "&quot;", $sOutput);
        $sOutput = str_replace(">", "&gt;", $sOutput);
        $sOutput = str_replace("<", "&lt;", $sOutput);
        $sOutput = str_replace("'", "&apos;", $sOutput);

        return $sOutput;
    }
public function prepareXML($sInput)
    {
        $sOutput = str_replace("&", "&amp;", $sInput);
        $sOutput = str_replace("\"", "&quot;", $sOutput);
        $sOutput = str_replace(">", "&gt;", $sOutput);
        $sOutput = str_replace("<", "&lt;", $sOutput);
        $sOutput = str_replace("'", "&apos;", $sOutput);

        return $sOutput;
    }
public function prepareXML ( $ sInput ) { $ sOutput = str_replace ( "&" , "&amp;" , $ sInput ) ; $ sOutput = str_replace ( "\"" , "&quot;" , $ sOutput ) ; $ sOutput = str_replace ( ">" , "&gt;" , $ sOutput ) ; $ sOutput = str_replace ( "<" , "&lt;" , $ sOutput ) ; $ sOutput = str_replace ( "'" , "&apos;" , $ sOutput ) ; return $ sOutput ; }
Changes special chars to be XML compatible

@param string $sInput string which have to be changed

@return string
Changes special chars to be XML compatible