*/
private final void fillChildElementInfo(NodeList list, int depth,Map<String,Object> detail){
if(depth < 0)
return;
for (int i =0; i < list.getLength(); i++) {
Node type = list.item(i);
if(type instanceof Element){
String name = type.getLocalName();
if(detail.containsKey(name)){
name = name +i;
}
detail.put(name, type.getTextContent());
Map<String,String> attributes = new HashMap<String, String>();
for(int att = type.getAttributes().getLength() -1;att >-1;att--){
Node node = type.getAttributes().item(att);
attributes.put(node.getNodeName(), node.getNodeValue());
}
detail.put(name +"_attributes", attributes);
Map<String,Object> subInfo = new HashMap<String, Object>();
detail.put(name + "_detail", subInfo);
fillChildElementInfo(type.getChildNodes(), depth - 1,subInfo);