$xml = "<?xml version=\"1.0\" encoding=\"gb2312\"?>\r\n<root>\r\n";$xml .="<result>000</result>\r\n"; $xml .= "<error>003</error>\r\n"; $xml .= "<errormsg>不合法</errormsg>\r\n"; $xml .="</root>\r\n";