<? /*********************************************************************** strip_cdata_tags($string) ------------------------------------------------------------- DESCRIPTION: Removes CDDATA tags from a string INPUT: $string Text containing CDDATA tags RETURNS: Returns a string free of CDDATA tags ***********************************************************************/ function strip_cdata_tags($string) { # Strip XML CDATA characters from all array elements $string = str_replace("", "", $string); return $string; } ?>