note 47741 deleted from function.simplexml-load-string by sean

From: Date: Sat, 27 Nov 2004 14:08:53 +0000
Subject: note 47741 deleted from function.simplexml-load-string by sean
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-81095@lists.php.net to get a copy of this message
Note Submitter: dummyusr at hm dot com ---- don't know why but if you don't delete some special chars in xml source, simplexml_load_string will fail: <? $sxmltxt=file_get_contents($url); //avoid namespace $sxmltxt=str_replace("xmlns=","a=",$sxmltxt); $xmltxt=@simplexml_load_string( str_replace(""," ",$sxmltxt) ); ?> ---- Reason: useless note

« previous php.notes (#81095) next »