摘要: <?php$str='<xml><node><![CDATA[content]]></node></xml>';$res = @simplexml_load_string($str,NULL,LIBXML_NOCDATA);$res = json_decode(json_encode($res),true);print_r($res);?> 阅读全文
posted @ 2011-09-10 10:34 samson1989 阅读(189) 评论(0) 推荐(0)