private String getTagValue(Document message, String tag_name) {
		NodeList nodes = message.getElementsByTagName(tag_name);
		if (nodes.getLength() == 0) return "";
		return nodes.item(0).getFirstChild().getNodeValue().trim();
	}