protected function _removeCdata($str) { return false !== strpos($str, '<![CDATA[') ? str_replace(array('<![CDATA[', ']]>'), '', $str) : $str; }