private Map readParameters(Document document) {
		Map p = new HashMap();
		NodeList list = document.getDocumentElement().getElementsByTagName(
				PARAMETER_NAME);
		for (int i = 0; i < list.getLength(); i++) {
			Map e2t = elementsToText(list.item(i));
			String name = (String) e2t.get(PARAMETER_NAME_NAME), value = (String) e2t
					.get(PARAMETER_VALUE_NAME);
			if (name == null)
				continue;
			if (value == null)
				value = "";
			p.put(name, value);
		}
		return p;
	}