docs: @SuppressWarnings("rawtypes")
  	public List<NodeConfig> parserByXpath(InputStreamReader xml, String xpath) throws UnmarshalException {
  		
  		List<NodeConfig> nodeConfigList = new ArrayList<NodeConfig>();
  		SAXBuilder builder = new SAXBuilder(false);
  		Document doc = null;
  		
  		try {
  			doc = builder.build(xml);
  			Element root = doc.getRootElement();
  			
  			if (xpath != null && !xpath.equals("")) {
  				List selectNodes = XPath.selectNodes(root, xpath);
  				for (Iterator iterNode = selectNodes.iterator(); iterNode.hasNext();) {
  					NodeConfig nodeConfig = parserNode((Element) iterNode.next());
  					nodeConfigList.add(nodeConfig);
  				}
  			}
  			
  			return nodeConfigList;
  		} catch (JDOMException e) {
  			throw new UnmarshalException(e);
  		} catch (IOException e) {
  			throw new UnmarshalException(e);
  		}
  
  	}