public void loadResources(InputStream is) throws SlickException {
		DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
		DocumentBuilder docBuilder = null;
		
		try {
			docBuilder = docBuilderFactory.newDocumentBuilder();
		} catch (ParserConfigurationException e) {
			throw new SlickException("Could not load resource file", e);
		}
		
		Document document = null;
		
		try {
			document = docBuilder.parse(is);
		} catch(SAXException e) {
			throw new SlickException("Could not load resource file.", e);
		} catch(IOException e) {
			throw new SlickException("Could not load resource file", e);
		}
		
		//normalize text representation
		document.getDocumentElement().normalize();
		
		NodeList listResources = document.getElementsByTagName("resource");
		int totalResources = listResources.getLength();
		
		
	}