int size = childValueTree.getChildCount();
if(size == 0){
attributesList.add(new Attribute(uri, attributeLocalName, attributeLocalName, ""));
}
for(int y=0; y<size; y++) {
CommonTree nextChildTree = (CommonTree) childValueTree.getChild(y);
addSimpleAttribute(attributesList, uri, attributeLocalName, nextChildTree);
}
}else{
addSimpleAttribute(attributesList, uri, attributeLocalName, childValueTree);
}