xzxt-rest服务项目

parent eb88588d
...@@ -99,6 +99,12 @@ public class Xmldom4j { ...@@ -99,6 +99,12 @@ public class Xmldom4j {
System.out.println("一级元素下的子元素替换" + ele.getName() + ": " + ele.getText()); System.out.println("一级元素下的子元素替换" + ele.getName() + ": " + ele.getText());
} }
} }
if(ele.getName().equals("LXDH")){
if(ele.getText().equals("null")){
ele.setText("");
System.out.println("一级元素下的子元素替换" + ele.getName() + ": " + ele.getText());
}
}
map.put(ele.getName(), ele.getTextTrim()); map.put(ele.getName(), ele.getTextTrim());
} }
maplist.add(map); maplist.add(map);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment