@Test
	public void test2() {
		xmlReader.setContentHandler(new DefaultHandler() {
			private String currentQName;
			private int number;
			private int requiredNumber = 2;

			@Override
			public void startElement(String uri, String localName,
					String qName, Attributes attributes) throws SAXException {
				currentQName = qName;
				if ("name".equals(currentQName)) {
					++number;
				}
			}

			@Override
			public void characters(char[] ch, int start, int length)
					throws SAXException {
				if (number == requiredNumber && "name".equals(currentQName)) {
					System.out.println(new String(ch, start, length));
				}
			}
		});
	}