cf9470e6d095678c4cda1b84ed388fba928cc5c0
XPATH-repository-tasks:
Complete the XPathTasks.xml file that is located in src/main/resources/xpath with the answers to the following exercises:
- Take XML with books and calculate number of all books available.
- Take XML with books and return first, third and last book from collection
- Take XML with books and return book with id = 7 from collection
- Take XML with books and return all books from year 2018
- Take XML with books and return all books which was released between 1990 and 1995
- Take XML with books and return book with title starting with word Harry
- Take XML with books and return book witch contains word "Law" in the title
- Take XML with books and return all attributes that are named id use // operator
- Take XML with books and return all attributes that are named id don't use // operator
- Take XML with books and return all node names in document
- Take XML with books and return book written by authors which are still alive
- Take XML with readers and sum age of all readers
- Take XML with readers and return age node name without namespace for book with id = 7
- Take XML with readers and return lastname node name with namespace for book with id = 4
- Take XML with readers and return namespace for reader with id = 2
- Take XML with readers and return first name and last name for each reader in following format: first name , last name
- Take XML with readers and return all child nodes of each reader
- Take XML with book or reader try write XPath expressions for each Xpath Axes operator
Description