private
	List<Element> queryXPathList(String query) {
		if (query == null) return new ArrayList<Element>(0);
		try {
			Element root = doc.getRootElement();
			XPathBuilder<Element> xpb = new XPathBuilder<Element>(query,Filters.element()); 
			XPathExpression<Element> xpe = xpb.compileWith(XPathFactory.instance()); // default factory
			return xpe.evaluate(root);
		} catch (NullPointerException|IllegalStateException|IllegalArgumentException  e) {
			Main.logger.log(Level.SEVERE,"",e);
			return new ArrayList<Element>(0);
		} 
	}