public List<String> getQueryNames() {
		List<String> names = new ArrayList<String>();
		
		try {
			NodeList nodes = Utilities.selectNodes(this.doc, "/c:settings/c:queries/c:query", this.namespaces);
			if(nodes != null) {
				for(int i = 0; i < nodes.getLength(); ++i) {
					Node node = nodes.item(i);
					Attr attr = (Attr) node.getAttributes().getNamedItemNS(Settings.DEFAULT_NAMESPACE, "name");
					names.add(attr.getValue());
				}
			}
		} catch (XPathExpressionException e) {
			logger.warn("Unable to get the query names.");
			names = null;
		}
		
		return names;
	}