static function serializeXML($xml) { $s = $xml->toString(); $s = com_wiris_util_xml_WXmlUtils::filterMathMLEntities($s); return $s; }