private void doParse(String contents) {
		try {
			InputSource xmlParserSource = new InputSource(new StringReader(contents));
			reader.parse(xmlParserSource);
		} catch (IOException ioe) {
			System.out.println("IOException when running parser.");
			ioe.printStackTrace();
			System.out.println("IOException when running parser.");
		} catch (SAXException se) {
			//System.out.println("SAXException when running parser." + se);
			//se.printStackTrace();
			//System.out.println("SAXException when running parser.");
		}
	}