}
String stockdata = stockQuoteService.GetQuote(sb.toString());
InputStream in = new ByteArrayInputStream(stockdata.getBytes());
XMLInputFactory factory = XMLInputFactory.newInstance();
XMLStreamReader parser = factory.createXMLStreamReader(in);
ArrayList<StockQuote> listQuotes = new ArrayList<StockQuote>();
Hashtable<String, StockQuote> listQuoteHT = new Hashtable<String, StockQuote>();
MapStock currentStock = null;
StringBuilder currentText = new StringBuilder(100);
for (int event = parser.next(); event != XMLStreamConstants.END_DOCUMENT; event = parser.next()) {