//get a factory
SAXParserFactory spf = SAXParserFactory.newInstance();
try {
SAXParser sp = spf.newSAXParser();
SaxHandler handler = new SaxHandler();
results = new QueryResults();
sp.parse("xmloutput.xml", handler);
QueryResults metadata = new QueryResults();
queryResults.add(metadata);
}catch(SAXException se) {
se.printStackTrace();
}catch(ParserConfigurationException pce) {