<?xml version="1.0" encoding="utf-8" ?>
Success
ok
9864
16027013
2
这个xml转换后的值
{
"returnstatus" :"Success",
"message" :"ok",
"remainpoint" :"9864",
"taskID" :"16027013",
"successCounts" :"2"
}
returnstatus 有个attr这个属性,不知道怎么办了。
NutMap xmlMap = Xmls.xmlToMap(xml);
logger.debug(Json.toJson(xmlMap));