public static String getPoPathByXmlConfig(Element rootElement,
			String pathName) {
		String result = null;

		Element element = rootElement.element("usePoSrcPath");

		if (element == null) {
		} else {
			Attribute attribute = element.attribute(pathName);
			if (attribute == null) {
			} else {
				String text = attribute.getText();
				if (text == null || text.equals("")) {
				} else {

					result = text;
				}
			}
		}

		return result;
	}