public static String getCityNoByName(String cityName) {
		String cityNo = null;
//		File file = new File("C:\\Users\\IBM_ADMIN\\Workspaces\\MyEclipse 9\\WeatherCNN\\war\\WEB-INF\\classes\\cifyInfo.xml");
		File file = new File("cifyInfo.xml"); 
		documentBuilderFactory = DocumentBuilderFactory.newInstance();
		try {
			documentBuilder = documentBuilderFactory.newDocumentBuilder();
			document = documentBuilder.parse(file);
			if (file.exists()) {
				NodeList nodeList = document.getElementsByTagName("CityInfo");
				System.out.println("CityInfo" + nodeList.getLength());
				for (int i = 0; i < nodeList.getLength(); i++) 
				{
					if(document.getElementsByTagName("CityInfo").item(i).getAttributes().getNamedItem("Name").getNodeValue()!=null && document.getElementsByTagName("CityInfo").item(i).getAttributes().getNamedItem("Name").getNodeValue().contains(cityName))
					  cityNo = document.getElementsByTagName("CityInfo").item(i).getAttributes().getNamedItem("WeatherCode").getNodeValue();
				}
			} else
				System.err.print("ϵͳҲļ");

		} catch (ParserConfigurationException e) {
			e.printStackTrace();
		} catch (SAXException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return cityNo;
	}