@SuppressWarnings({ "unchecked", "static-access" })
	public static void readXml() {
		try {
			SAXReader saxReader = new SAXReader();
			File file = new File(xml);
			if (file.exists()) {
				Document doc = saxReader.read(file);
				Element rootEle = doc.getRootElement();
				List<Element> list = (List<Element>) rootEle.elements(OFFER);
				List<Product> proList = new ArrayList<Product>();

				for (Element ele : list) {
					Product product = new Product();
					product.setSku(ele.attributeValue(SKU));
					product.setName(ele.elementText(NAME));
					product.setDescription(ele.elementText(DESCRIPTION));
					product.setOnline(ele.elementText(ONLINE));
					proList.add(product);
				}
				if (proList.size() > 0) {
					ComparatorProduct compare = new ComparatorProduct();
					compare.sort(proList);
					Collections.sort(proList, compare);
					for (int i = 0; i < proList.size(); i++) {
						System.out.println("name:" + proList.get(i).getName()
								+ " " + "sku:" + proList.get(i).getSku());
					}
				}
			} else {
				CreateProductXml.creadXml();
			}
		} catch (DocumentException e) {
			e.printStackTrace();
		}
	}