/*转换XML*/
function ConvertXML(str) {
var newStr = str.replace(/</g, '<');
newStr = newStr.replace(/>/g, '>');
return newStr;
}
/*转换XML*/
function ConvertXML(str) {
var newStr = str.replace(/</g, '<');
newStr = newStr.replace(/>/g, '>');
return newStr;
}
转载于:https://www.cnblogs.com/hellohongfu/archive/2012/09/11/2680630.html