private Element createXmlObj(Document doc, String root, String[] args, String ... values){	
        Element e = createElement(doc, root, null);	
        for(int i = 0; i < args.length; i++){		
            e.appendChild(createElement(doc, args[i], values[i]));	
        }	
        return e;	
    }