private String getValue(CommonTree tree, String xpath) {
		final List<?> values = Jaxen.evaluate(tree, xpath);
		if (values == null || values.size() != 1)
			return null;
		else
			return ((CommonTree) values.get(0)).getText();
	}