import * as xml2js from "xml2js"

parseXML(data){
return new Promise(resolve => {
var k,
arr = [],
parser = new xml2js.Parser({
trim: true,
explicitArray: true
});
parser.parseString(data, function (err, result){
console.log("result : " + result);
});
});
}


'아이오닉' 카테고리의 다른 글

플랫폼 추가 및 빌드  (0) 2017.09.14
proxy 설정  (0) 2017.08.01
http  (0) 2017.08.01
nativieStorage  (0) 2017.08.01

+ Recent posts