Document doc = DocumentHelper.parseText("books.xml"); List<Element> beginTimeList = doc.selectNodes("/books/book/name/author");