try {
Document root = utils.getDocumentComm(Config.DATA_FILE_PATH + "ssc.xml");
Element rootEl = root.getRootElement();
Iterator<Element> it = rootEl.elementIterator();
Element el;
DataItem item1;
while (it.hasNext()) {
el = it.next();
item1 = new DataItem(el.attributeValue("ID"),
el.attributeValue("opencode"), el.attributeValue("type"));
list.add(item1);
}
System.out.println("all sizeļ¼" + list.size());