public static void creadXml() {
		File file = new File(xml);
		if (file.exists()) {
			System.out.println("product.xml已存在");
		} else {
			Document document = DocumentHelper.createDocument();
			Element rootElement1 = document.addElement(ENFINITY);
			Element offerElement1 = rootElement1.addElement(OFFER);
			offerElement1.addAttribute(SKU, "JC-PA80I");
			Element nameElement1 = offerElement1.addElement(NAME);
			nameElement1.setText("高铝质PA80耐火浇注料");
			Element descriptionElement1 = offerElement1.addElement(DESCRIPTION);
			descriptionElement1.setText("1");
			Element onlineElement1 = offerElement1.addElement(ONLINE);
			onlineElement1.setText("1");

			Element offerElement2 = rootElement1.addElement(OFFER);
			offerElement2.addAttribute(SKU, "JC-PA80II");
			Element nameElement2 = offerElement2.addElement(NAME);
			nameElement2.setText("高铝质PA80高强耐火浇注料");
			Element descriptionElement2 = offerElement2.addElement(DESCRIPTION);
			descriptionElement2.setText("2");
			Element onlineElement2 = offerElement2.addElement(ONLINE);
			onlineElement2.setText("2");
			try {
				Writer out = new FileWriter(xml);
				OutputFormat format = OutputFormat.createPrettyPrint();
				format.setEncoding("UTF-8");
				XMLWriter writer = new XMLWriter(out, format);
				writer.write(document);
				writer.close();
				System.out.println("product.xml创建成功");
			} catch (IOException e) {
				e.printStackTrace();
				System.out.println("product.xml创建失败");
			}
		}
	}