private static void parseByEventReader(InputStream inputStream, XMLInputFactory xis) {
		XMLEventReader eventReader = null;
		try {
			eventReader = xis.createXMLEventReader(inputStream);
			while (eventReader.hasNext()) {
				XMLEvent event = eventReader.nextEvent();
//				event.getEventType()

				if (event.isStartElement()) {
                    StartElement startElement = event.asStartElement();
                    startElement.getName();
                    startElement.getAttributes();
				}

				if (event.isEndElement()) {
                     EndElement endElement = event.asEndElement();
                     endElement.getName();
				}
				
				if (event.isCharacters()) {
					Characters character = event.asCharacters();
					String data = character.getData();
					if (data.trim().length() > 0) {
						System.out.println(data);
					}
				}
				
			}
		} catch (XMLStreamException e) {
			e.printStackTrace();
		} finally {
			try {
				if (eventReader != null) {
					eventReader.close();
				}
			} catch (XMLStreamException e) {
				e.printStackTrace();
			}
		}
	}