一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

ReadXml方法读取xml数据出错

时间:2010-08-10 编辑:简简单单 来源:一聚教程网

readxml方法读取xml数据出错

string xmlcode = file.readalltext("aa.xml");
file.writealltext("aa.xml", xmlcode.replace("&", "&"));//注意这一段
table.readxml("aa.xml");


/*
& 在 xml 中是特殊字符,使用它要转义

& -> &

*/

热门栏目