public XmlLoader(String name) {
		if (!name.equals("")) {
			try {
				file = new File(name);
				dbFactory = DocumentBuilderFactory.newInstance();
				dBuilder = dbFactory.newDocumentBuilder();
				doc = dBuilder.parse(file);
				doc.getDocumentElement().normalize();

			} catch (Exception e) {
				e.printStackTrace();
			}
		}
	}