public Element compare(List<Element> nodes) {
		Element ele = null;
		List<String> ids = new ArrayList<String>();

		// Ԫȡidֵ
		for (Element e : nodes) {
			ids.add(e.attributeValue("id"));
			// System.out.println(e.getName() + "||" + e.attributeValue("id"));
		}
		String min = this.minLengthString(ids);
		// System.out.println(min);
		for (Element e : nodes) {
			if (e.attributeValue("id").equals(min))
				ele = e;

		}
		return ele;
	}