城市资源xml数据类型

以xml数据类型文件,来对城市信息进行筛选功能

1、创建helper_city 类,实现城市何省份的选择

public class helper_city {
	private static InputStream inStream;

	public static List<Map<String, String>> getCity(Context c, String id) {
		List<Map<String, String>> cityList = null;
		try {
			inStream = c.getAssets().open("citys.xml");
			cityService cityService = new cityService();
			cityList = cityService.getCitys(inStream, Integer.parseInt(id));
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (Throwable e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return cityList;
	}

	public static List<Map<String, String>> getProvince(Context c) {
		List<Map<String, String>> list = null;
		try {
			inStream = c.getAssets().open("citys.xml");
                        provinceService service = new provinceService();
			list = service.getProvinces(inStream);
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (Throwable e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return list;
	}

	public static String readInStream(InputStream inStream) {
		try {
			ByteArrayOutputStream outStream = new ByteArrayOutputStream();
			byte[] buffer = new byte[1024];
			int length = -1;
			while ((length = inStream.read(buffer)) != -1) {
				outStream.write(buffer, 0, length);
			}
			outStream.close();
			inStream.close();
			return outStream.toString();
		} catch (IOException e) {
			Log.i("FileTest", e.getMessage());
		}
		return null;
	}
}

2、provinceService、cityService:实现了对xml数据结构的解析

provinceService:

public class provinceService {
	public List<Map<String,String>> getProvinces(InputStream inStream) throws Throwable {
		SAXParserFactory factory = SAXParserFactory.newInstance();
		SAXParser parser = factory.newSAXParser();
		XMLReader reader = parser.getXMLReader();

		ProvinceHandler handler = new ProvinceHandler();
		reader.setContentHandler(handler);
		parser.parse(inStream, handler);
		return handler.getProvinces();
	}

	private final class ProvinceHandler extends DefaultHandler {
		private List<Map<String,String>> list = null;
		private String tag = null;
		private Map<String,String> item = null;

		public List<Map<String,String>> getProvinces() {
			return list;
		}

		@Override
		public void startDocument() throws SAXException {
			// TODO Auto-generated method stub
			list = new ArrayList<Map<String,String>>();
		}

		@Override
		public void endDocument() throws SAXException {
			// TODO Auto-generated method stub
		}

		@Override
		public void startElement(String uri, String localName, String qName,
				Attributes attributes) throws SAXException {
			// TODO Auto-generated method stub
			if (localName.equals("province")) {
				item = new HashMap<String,String>();
				item.put("id", attributes.getValue(0));
				item.put("name", attributes.getValue(2));
				item.put("text", attributes.getValue(3));
			}
			tag = localName;
		}

		@Override
		public void characters(char[] ch, int start, int length)
				throws SAXException {
			// TODO Auto-generated method stub
			super.characters(ch, start, length);
		}

		@Override
		public void endElement(String uri, String localName, String qName)
				throws SAXException {
			// TODO Auto-generated method stub
			if ("province".equals(localName)) {
				list.add(item);
				// Log.e("service", item.getString("text")+"-"+list.size());
				item = null;
			}
			tag = null;
		}
	}
}

cityService:

public class cityService {
	public List<Map<String, String>> getCitys(InputStream inStream, int id)
			throws Throwable {

		SAXParserFactory factory = SAXParserFactory.newInstance();
		SAXParser parser = factory.newSAXParser();
		CityHandler handler = new CityHandler();
		parser.parse(inStream, handler);
		return handler.getCitys(id);
	}

	private final class CityHandler extends DefaultHandler {
		private List<Bundle> list = null;
		private List<Map<String, String>> reslist = null;
		private String tag = null;
		private Bundle item = null;

		public List<Map<String, String>> getCitys(int id) {
			reslist = new ArrayList<Map<String, String>>();
			for (Iterator<Bundle> itr = list.iterator(); itr.hasNext();) {
				Bundle item = itr.next();
				if (item.getString("pid").equals(String.valueOf(id))) {
					Map<String, String> m = new HashMap<String, String>();
					m.put("id", item.getString("id"));
					m.put("pid", item.getString("pid"));
					m.put("text", item.getString("text"));
					reslist.add(m);
				}
			}
			return reslist;
		}

		@Override
		public void startDocument() throws SAXException {
			// TODO Auto-generated method stub
			list = new ArrayList<Bundle>();
		}

		@Override
		public void endDocument() throws SAXException {
			// TODO Auto-generated method stub
		}

		@Override
		public void startElement(String uri, String localName, String qName,
				Attributes attributes) throws SAXException {
			// TODO Auto-generated method stub
			if (localName.equals("city")) {
				item = new Bundle();
				item.putString("id", attributes.getValue(0));
				item.putString("pid", attributes.getValue(1));
				item.putString("text", attributes.getValue(2));
			}
			// tag = localName;
		}

		@Override
		public void characters(char[] ch, int start, int length)
				throws SAXException {
			// TODO Auto-generated method stub
			super.characters(ch, start, length);
		}

		@Override
		public void endElement(String uri, String localName, String qName)
				throws SAXException {
			// TODO Auto-generated method stub
			if ("city".equals(localName)) {
				list.add(item);
				item = null;
			}
			// tag = null;
		}
	}

3、activity类中调用

private List<Map<String, String>> province;
private List<Map<String, String>> cityitems;

province = helper_city.getProvince(MainActivity.this);

cityitems= helper_city.getCity(this, id);//id is province 中的id属性

4、创建xml资源文件资源文件,保存在assets文件夹下,取名citys.xml

<?xml version="1.0" encoding="utf-8"?>
<locality>
<provinces>
<province id="1" cid="42" name="Anhui" text="安徽"></province>
<province id="2" cid="42" name="Beijing" text="北京"></province>
<province id="3" cid="42" name="Chongqin" text="重庆"></province>
<province id="4" cid="42" name="Fujian" text="福建"></province>
<province id="5" cid="42" name="Gansu" text="甘肃"></province>
<province id="6" cid="42" name="Guangdong" text="广东"></province>
<province id="7" cid="42" name="Guangxi" text="广西"></province>
<province id="8" cid="42" name="Guizhou" text="贵州"></province>
<province id="9" cid="42" name="Hainan" text="海南"></province>
<province id="10" cid="42" name="Hebei" text="河北"></province>
<province id="11" cid="42" name="Henan" text="河南"></province>
<province id="12" cid="42" name="Hubei" text="湖北"></province>
<province id="13" cid="42" name="Hunan" text="湖南"></province>
<province id="14" cid="42" name="Jilin" text="吉林"></province>
<province id="15" cid="42" name="Inner Mongolia" text="内蒙古"></province>
<province id="16" cid="42" name="Jiangsu" text="江苏"></province>
<province id="17" cid="42" name="Jiangxi" text="江西"></province>
<province id="18" cid="42" name="Heilongjiang" text="黑龙江"></province>
<province id="19" cid="42" name="Liaoning" text="辽宁"></province>
<province id="20" cid="42" name="Ningxia" text="宁夏"></province>
<province id="21" cid="42" name="Qinghai" text="青海"></province>
<province id="22" cid="42" name="Shandong" text="山东"></province>
<province id="23" cid="42" name="Shanxi" text="山西"></province>
<province id="24" cid="42" name="Shaanxi" text="陕西"></province>
<province id="25" cid="42" name="Shanghai" text="上海"></province>
<province id="26" cid="42" name="Sichuan" text="四川"></province>
<province id="27" cid="42" name="Tianjin" text="天津"></province>
<province id="28" cid="42" name="Tibet" text="西藏"></province>
<province id="29" cid="42" name="Xinjiang" text="新疆"></province>
<province id="30" cid="42" name="Yunnan" text="云南"></province>
<province id="31" cid="42" name="Zhejiang" text="浙江"></province>
<province id="32" cid="42" name="Hongkong" text="香港"></province>
<province id="33" cid="42" name="Macao" text="澳门"></province>
<province id="34" cid="42" name="Taiwan" text="台湾"></province>
</provinces>
<citys>
<city id="1" pid="2" name="东城区"></city>
<city id="2" pid="2" name="西城区"></city>
<city id="3" pid="2" name="崇文区"></city>
<city id="4" pid="2" name="宣武区"></city>
<city id="5" pid="2" name="朝阳区"></city>
<city id="6" pid="2" name="丰台区"></city>
<city id="7" pid="2" name="石景山区"></city>
<city id="8" pid="2" name="海淀区"></city>
<city id="9" pid="2" name="门头沟区"></city>
<city id="10" pid="2" name="房山区"></city>
<city id="11" pid="2" name="郊县"></city>
<city id="12" pid="25" name="黄浦区"></city>
<city id="13" pid="25" name="南市区"></city>
<city id="14" pid="25" name="卢湾区"></city>
<city id="15" pid="25" name="徐汇区"></city>
<city id="16" pid="25" name="长宁区"></city>
<city id="17" pid="25" name="静安区"></city>
<city id="18" pid="25" name="普陀区"></city>
<city id="19" pid="25" name="闸北区"></city>
<city id="20" pid="25" name="虹口区"></city>
<city id="21" pid="25" name="杨浦区"></city>
<city id="22" pid="25" name="闵行区"></city>
<city id="23" pid="25" name="宝山区"></city>
<city id="24" pid="25" name="嘉定区"></city>
<city id="25" pid="25" name="浦东新区"></city>
<city id="26" pid="25" name="郊县"></city>
<city id="27" pid="27" name="和平区"></city>
<city id="28" pid="27" name="河东区"></city>
<city id="29" pid="27" name="河西区"></city>
<city id="30" pid="27" name="南开区"></city>
<city id="31" pid="27" name="河北区"></city>
<city id="32" pid="27" name="红桥区"></city>
<city id="33" pid="27" name="塘沽区"></city>
<city id="34" pid="27" name="汉沽区"></city>
<city id="35" pid="27" name="大港区"></city>
<city id="36" pid="27" name="东丽区"></city>
<city id="37" pid="27" name="西青区"></city>
<city id="38" pid="27" name="津南区"></city>
<city id="39" pid="27" name="北辰区"></city>
<city id="40" pid="27" name="郊县"></city>
<city id="41" pid="3" name="市区"></city>
<city id="42" pid="3" name="涪陵区"></city>
<city id="43" pid="3" name="万州区"></city>
<city id="44" pid="3" name="黔江地区"></city>
<city id="45" pid="31" name="杭州市"></city>
<city id="46" pid="31" name="宁波市"></city>
<city id="47" pid="31" name="温州市"></city>
<city id="48" pid="31" name="嘉兴市"></city>
<city id="49" pid="31" name="绍兴市"></city>
<city id="50" pid="31" name="丽水地区"></city>
<city id="51" pid="31" name="湖州市"></city>
<city id="52" pid="31" name="金华市"></city>
<city id="53" pid="31" name="台州市"></city>
<city id="54" pid="31" name="舟山市"></city>
<city id="55" pid="31" name="衢州市"></city>
<city id="56" pid="7" name="桂林市"></city>
<city id="57" pid="7" name="北海市"></city>
<city id="58" pid="7" name="河池地区"></city>
<city id="59" pid="7" name="柳州市"></city>
<city id="60" pid="7" name="南宁市"></city>
<city id="61" pid="7" name="钦州市"></city>
<city id="62" pid="7" name="梧州市"></city>
<city id="63" pid="7" name="玉林地区"></city>
<city id="64" pid="7" name="防城港市"></city>
<city id="65" pid="7" name="南宁地区"></city>
<city id="66" pid="7" name="柳州地区"></city>
<city id="67" pid="7" name="桂林地区"></city>
<city id="68" pid="7" name="梧州地区"></city>
<city id="69" pid="8" name="贵阳市"></city>
<city id="70" pid="8" name="遵义地区"></city>
<city id="71" pid="8" name="铜仁地区"></city>
<city id="72" pid="8" name="毕节地区"></city>
<city id="73" pid="8" name="安顺地区"></city>
<city id="74" pid="8" name="六盘水市"></city>
<city id="75" pid="8" name="黔东南苗族侗族自治州"></city>
<city id="76" pid="8" name="黔西南布依族苗族自治州"></city>
<city id="77" pid="8" name="黔南布依族苗族自治州"></city>
<city id="78" pid="10" name="石家庄市"></city>
<city id="79" pid="10" name="保定市"></city>
<city id="80" pid="10" name="保定地区"></city>
<city id="81" pid="10" name="沧州市"></city>
<city id="82" pid="10" name="承德市"></city>
<city id="83" pid="10" name="邯郸市"></city>
<city id="84" pid="10" name="衡水地区"></city>
<city id="85" pid="10" name="廊坊市"></city>
<city id="86" pid="10" name="秦皇岛市"></city>
<city id="87" pid="10" name="唐山市"></city>
<city id="88" pid="10" name="邢台市"></city>
<city id="89" pid="10" name="张家口市"></city>
<city id="90" pid="11" name="郑州市"></city>
<city id="91" pid="11" name="洛阳市"></city>
<city id="92" pid="11" name="安阳市"></city>
<city id="93" pid="11" name="鹤壁市"></city>
<city id="94" pid="11" name="焦作市"></city>
<city id="95" pid="11" name="开封市"></city>
<city id="96" pid="11" name="南阳市"></city>
<city id="97" pid="11" name="平顶山市"></city>
<city id="98" pid="11" name="三门峡市"></city>
<city id="99" pid="11" name="商丘地区"></city>
<city id="100" pid="11" name="新乡市"></city>
<city id="101" pid="11" name="信阳地区"></city>
<city id="102" pid="11" name="许昌市"></city>
<city id="103" pid="11" name="周口地区"></city>
<city id="104" pid="11" name="驻马店地区"></city>
<city id="105" pid="11" name="漯河市"></city>
<city id="106" pid="11" name="濮阳市"></city>
<city id="107" pid="18" name="哈尔滨市"></city>
<city id="108" pid="18" name="七台河市"></city>
<city id="109" pid="18" name="松花江地区"></city>
<city id="110" pid="18" name="大兴安岭地区"></city>
<city id="111" pid="18" name="双鸭山市"></city>
<city id="112" pid="18" name="鹤岗市"></city>
<city id="113" pid="18" name="黑河市"></city>
<city id="114" pid="18" name="大庆市"></city>
<city id="115" pid="18" name="鸡西市"></city>
<city id="116" pid="18" name="佳木斯市"></city>
<city id="117" pid="18" name="牡丹江市"></city>
<city id="118" pid="18" name="齐齐哈尔市"></city>
<city id="119" pid="18" name="绥化地区"></city>
<city id="120" pid="18" name="伊春市"></city>
<city id="121" pid="12" name="武汉市"></city>
<city id="122" pid="12" name="黄石市"></city>
<city id="123" pid="12" name="襄樊市"></city>
<city id="124" pid="12" name="十堰市"></city>
<city id="125" pid="12" name="宜昌市"></city>
<city id="126" pid="12" name="荆州市"></city>
<city id="127" pid="12" name="荆门市"></city>
<city id="128" pid="12" name="鄂州市"></city>
<city id="129" pid="12" name="孝感市"></city>
<city id="130" pid="12" name="咸宁地区"></city>
<city id="131" pid="12" name="黄冈地区"></city>
<city id="132" pid="12" name="恩施土家族苗族自治州"></city>
<city id="133" pid="13" name="长沙市"></city>
<city id="134" pid="13" name="常德市"></city>
<city id="135" pid="13" name="郴州市"></city>
<city id="136" pid="13" name="湘潭市"></city>
<city id="137" pid="13" name="益阳市"></city>
<city id="138" pid="13" name="岳阳市"></city>
<city id="139" pid="13" name="株洲市"></city>
<city id="140" pid="13" name="衡阳市"></city>
<city id="141" pid="13" name="邵阳市"></city>
<city id="142" pid="13" name="零陵地区"></city>
<city id="143" pid="13" name="娄底地区"></city>
<city id="144" pid="13" name="张家界市"></city>
<city id="145" pid="13" name="怀化地区"></city>
<city id="146" pid="13" name="湘西土家族苗族自治州"></city>
<city id="147" pid="14" name="吉林市"></city>
<city id="148" pid="14" name="白城市"></city>
<city id="149" pid="14" name="长春市"></city>
<city id="150" pid="14" name="辽源市"></city>
<city id="151" pid="14" name="四平市"></city>
<city id="152" pid="14" name="通化市"></city>
<city id="153" pid="14" name="白山市"></city>
<city id="154" pid="14" name="松原市"></city>
<city id="155" pid="14" name="延边朝鲜族自治州"></city>
<city id="156" pid="16" name="南京市"></city>
<city id="157" pid="16" name="常熟市"></city>
<city id="158" pid="16" name="常州市"></city>
<city id="159" pid="16" name="淮阴市"></city>
<city id="160" pid="16" name="南通市"></city>
<city id="161" pid="16" name="苏州市"></city>
<city id="162" pid="16" name="无锡市"></city>
<city id="163" pid="16" name="徐州市"></city>
<city id="164" pid="16" name="盐城市"></city>
<city id="165" pid="16" name="扬州市"></city>
<city id="166" pid="16" name="镇江市"></city>
<city id="167" pid="16" name="连云港市"></city>
<city id="168" pid="17" name="南昌市"></city>
<city id="169" pid="17" name="九江市"></city>
<city id="170" pid="17" name="萍乡市"></city>
<city id="171" pid="17" name="新余市"></city>
<city id="172" pid="17" name="鹰潭市"></city>
<city id="173" pid="17" name="景德镇市"></city>
<city id="174" pid="17" name="上饶地区"></city>
<city id="175" pid="17" name="抚州地区"></city>
<city id="176" pid="17" name="赣州地区"></city>
<city id="177" pid="17" name="吉安地区"></city>
<city id="178" pid="17" name="宜春地区"></city>
<city id="179" pid="19" name="沈阳市"></city>
<city id="180" pid="19" name="大连市"></city>
<city id="181" pid="19" name="鞍山市"></city>
<city id="182" pid="19" name="本溪市"></city>
<city id="183" pid="19" name="朝阳市"></city>
<city id="184" pid="19" name="丹东市"></city>
<city id="185" pid="19" name="抚顺市"></city>
<city id="186" pid="19" name="阜新市"></city>
<city id="187" pid="19" name="锦西市"></city>
<city id="188" pid="19" name="锦州市"></city>
<city id="189" pid="19" name="辽阳市"></city>
<city id="190" pid="19" name="盘锦市"></city>
<city id="191" pid="19" name="铁岭市"></city>
<city id="192" pid="19" name="营口市"></city>
<city id="193" pid="15" name="呼和浩特市"></city>
<city id="194" pid="15" name="包头市"></city>
<city id="195" pid="15" name="赤峰市"></city>
<city id="196" pid="15" name="乌海市"></city>
<city id="197" pid="15" name="兴安盟"></city>
<city id="198" pid="15" name="哲里木盟"></city>
<city id="199" pid="15" name="伊克昭盟"></city>
<city id="200" pid="15" name="阿拉善盟"></city>
<city id="201" pid="15" name="呼伦贝尔盟"></city>
<city id="202" pid="15" name="锡林郭勒盟"></city>
<city id="203" pid="15" name="乌兰察布盟"></city>
<city id="204" pid="15" name="巴彦淖尔盟"></city>
<city id="205" pid="20" name="银川市"></city>
<city id="206" pid="20" name="固原地区"></city>
<city id="207" pid="20" name="银南地区"></city>
<city id="208" pid="20" name="石嘴山市"></city>
<city id="209" pid="21" name="西宁市"></city>
<city id="210" pid="21" name="海东地区"></city>
<city id="211" pid="21" name="玉树藏族自治州"></city>
<city id="212" pid="21" name="黄南藏族自治州"></city>
<city id="213" pid="21" name="果洛藏族自治州"></city>
<city id="214" pid="21" name="海南藏族自治州"></city>
<city id="215" pid="21" name="海北藏族自治州"></city>
<city id="216" pid="21" name="海西蒙古族藏族自治州"></city>
<city id="217" pid="23" name="太原市"></city>
<city id="218" pid="23" name="长治市"></city>
<city id="219" pid="23" name="大同市"></city>
<city id="220" pid="23" name="晋城市"></city>
<city id="221" pid="23" name="朔州市"></city>
<city id="222" pid="23" name="阳泉市"></city>
<city id="223" pid="23" name="运城地区"></city>
<city id="224" pid="23" name="临汾地区"></city>
<city id="225" pid="23" name="忻州地区"></city>
<city id="226" pid="23" name="吕梁地区"></city>
<city id="227" pid="23" name="晋中地区"></city>
<city id="228" pid="24" name="西安市"></city>
<city id="229" pid="24" name="咸阳市"></city>
<city id="230" pid="24" name="宝鸡市"></city>
<city id="231" pid="24" name="铜川市"></city>
<city id="232" pid="24" name="渭南市"></city>
<city id="233" pid="24" name="商洛地区"></city>
<city id="234" pid="24" name="安康地区"></city>
<city id="235" pid="24" name="汉中地区"></city>
<city id="236" pid="24" name="延安地区"></city>
<city id="237" pid="24" name="榆林地区"></city>
<city id="238" pid="1" name="合肥市"></city>
<city id="239" pid="1" name="淮北市"></city>
<city id="240" pid="1" name="淮南市"></city>
<city id="241" pid="1" name="黄山市"></city>
<city id="242" pid="1" name="安庆市"></city>
<city id="243" pid="1" name="蚌埠市"></city>
<city id="244" pid="1" name="滁州市"></city>
<city id="245" pid="1" name="铜陵市"></city>
<city id="246" pid="1" name="芜湖市"></city>
<city id="247" pid="1" name="巢湖地区"></city>
<city id="248" pid="1" name="池州地区"></city>
<city id="249" pid="1" name="阜阳地区"></city>
<city id="250" pid="1" name="六安地区"></city>
<city id="251" pid="1" name="马鞍山市"></city>
<city id="252" pid="1" name="宿县地区"></city>
<city id="253" pid="1" name="宣城地区"></city>
<city id="254" pid="26" name="成都市"></city>
<city id="255" pid="26" name="德阳市"></city>
<city id="256" pid="26" name="广元市"></city>
<city id="257" pid="26" name="乐山市"></city>
<city id="258" pid="26" name="绵阳市"></city>
<city id="259" pid="26" name="南充市"></city>
<city id="260" pid="26" name="内江市"></city>
<city id="261" pid="26" name="遂宁市"></city>
<city id="262" pid="26" name="自贡市"></city>
<city id="263" pid="26" name="泸州市"></city>
<city id="264" pid="26" name="攀枝花市"></city>
<city id="265" pid="26" name="达川地区"></city>
<city id="266" pid="26" name="雅安地区"></city>
<city id="267" pid="26" name="宜宾地区"></city>
<city id="268" pid="26" name="巴中地区"></city>
<city id="269" pid="26" name="广安地区"></city>
<city id="270" pid="26" name="凉山彝族自治州"></city>
<city id="271" pid="26" name="甘孜藏族自治州"></city>
<city id="272" pid="26" name="阿坝藏族羌族自治州"></city>
<city id="273" pid="4" name="福州市"></city>
<city id="274" pid="4" name="南平市"></city>
<city id="275" pid="4" name="蒲田市"></city>
<city id="276" pid="4" name="泉州市"></city>
<city id="277" pid="4" name="三明市"></city>
<city id="278" pid="4" name="厦门市"></city>
<city id="279" pid="4" name="漳州市"></city>
<city id="280" pid="4" name="龙岩地区"></city>
<city id="281" pid="4" name="宁德地区"></city>
<city id="282" pid="29" name="乌鲁木齐市"></city>
<city id="283" pid="29" name="喀什地区"></city>
<city id="284" pid="29" name="哈密地区"></city>
<city id="285" pid="29" name="和田地区"></city>
<city id="286" pid="29" name="石河子市"></city>
<city id="287" pid="29" name="塔城地区"></city>
<city id="288" pid="29" name="伊犁地区"></city>
<city id="289" pid="29" name="克拉玛依市"></city>
<city id="290" pid="29" name="吐鲁番地区"></city>
<city id="291" pid="29" name="阿克苏地区"></city>
<city id="292" pid="29" name="阿勒泰地区"></city>
<city id="293" pid="29" name="昌吉回族自治州"></city>
<city id="294" pid="29" name="伊犁哈萨克自治州"></city>
<city id="295" pid="29" name="博尔塔拉蒙古自治州"></city>
<city id="296" pid="29" name="巴音郭楞蒙古自治州"></city>
<city id="297" pid="29" name="克孜勒苏柯尔克孜自治州"></city>
<city id="298" pid="28" name="拉萨市"></city>
<city id="299" pid="28" name="那曲地区"></city>
<city id="300" pid="28" name="阿里地区"></city>
<city id="301" pid="28" name="山南地区"></city>
<city id="302" pid="28" name="昌都地区"></city>
<city id="303" pid="28" name="林芝地区"></city>
<city id="304" pid="28" name="日喀则地区"></city>
<city id="305" pid="30" name="昆明市"></city>
<city id="306" pid="30" name="东川市"></city>
<city id="307" pid="30" name="曲靖地区"></city>
<city id="308" pid="30" name="玉溪地区"></city>
<city id="309" pid="30" name="昭通地区"></city>
<city id="310" pid="30" name="思茅地区"></city>
<city id="311" pid="30" name="保山地区"></city>
<city id="312" pid="30" name="临沧地区"></city>
<city id="313" pid="30" name="丽江地区"></city>
<city id="314" pid="30" name="楚雄彝族自治州"></city>
<city id="315" pid="30" name="大理白族自治州"></city>
<city id="316" pid="30" name="迪庆藏族自治州"></city>
<city id="317" pid="30" name="怒江傈僳族自治州"></city>
<city id="318" pid="30" name="文山壮族苗族自治州"></city>
<city id="319" pid="30" name="西双版纳傣族自治州"></city>
<city id="320" pid="30" name="红河哈尼族彝族自治州"></city>
<city id="321" pid="30" name="德宏傣族景颇族自治州"></city>
<city id="322" pid="6" name="广州市"></city>
<city id="323" pid="6" name="深圳市"></city>
<city id="324" pid="6" name="中山市"></city>
<city id="325" pid="6" name="珠海市"></city>
<city id="326" pid="6" name="顺德市"></city>
<city id="327" pid="6" name="佛山市"></city>
<city id="328" pid="6" name="东莞市"></city>
<city id="329" pid="6" name="揭阳市"></city>
<city id="330" pid="6" name="云浮市"></city>
<city id="331" pid="6" name="潮州市"></city>
<city id="332" pid="6" name="河源市"></city>
<city id="333" pid="6" name="惠州市"></city>
<city id="334" pid="6" name="江门市"></city>
<city id="335" pid="6" name="茂名市"></city>
<city id="336" pid="6" name="梅州市"></city>
<city id="337" pid="6" name="清远市"></city>
<city id="338" pid="6" name="汕头市"></city>
<city id="339" pid="6" name="汕尾市"></city>
<city id="340" pid="6" name="韶关市"></city>
<city id="341" pid="6" name="阳江市"></city>
<city id="342" pid="6" name="湛江市"></city>
<city id="343" pid="6" name="肇庆市"></city>
<city id="344" pid="5" name="兰州市"></city>
<city id="345" pid="5" name="白银市"></city>
<city id="346" pid="5" name="天水市"></city>
<city id="347" pid="5" name="金昌市"></city>
<city id="348" pid="5" name="嘉峪关市"></city>
<city id="349" pid="5" name="定西地区"></city>
<city id="350" pid="5" name="酒泉地区"></city>
<city id="351" pid="5" name="平凉地区"></city>
<city id="352" pid="5" name="武威地区"></city>
<city id="353" pid="5" name="张掖地区"></city>
<city id="354" pid="5" name="庆阳地区"></city>
<city id="355" pid="5" name="陇南地区"></city>
<city id="356" pid="5" name="甘南藏族自治州"></city>
<city id="357" pid="5" name="临夏回族自治州"></city>
<city id="358" pid="22" name="济南市"></city>
<city id="359" pid="22" name="青岛市"></city>
<city id="360" pid="22" name="潍坊市"></city>
<city id="361" pid="22" name="烟台市"></city>
<city id="362" pid="22" name="枣庄市"></city>
<city id="363" pid="22" name="淄博市"></city>
<city id="364" pid="22" name="德州市"></city>
<city id="365" pid="22" name="东营市"></city>
<city id="366" pid="22" name="济宁市"></city>
<city id="367" pid="22" name="莱芜市"></city>
<city id="368" pid="22" name="临沂市"></city>
<city id="369" pid="22" name="日照市"></city>
<city id="370" pid="22" name="泰安市"></city>
<city id="371" pid="22" name="威海市"></city>
<city id="372" pid="22" name="滨州地区"></city>
<city id="373" pid="22" name="菏泽地区"></city>
<city id="374" pid="22" name="聊城地区"></city>
<city id="375" pid="32" name="香港"></city>
<city id="376" pid="33" name="澳门"></city>
<city id="377" pid="34" name="台湾"></city>
</citys>
</locality>


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值