add template files
This commit is contained in:
22
README.md
Normal file
22
README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# XPATH-repository-tasks:
|
||||
|
||||
|
||||
## Complete the XPathTasks.xml file that is located in src/main/resources/xpath with the answers to the following exercises:
|
||||
1. Take XML with books and calculate number of all books available.
|
||||
2. Take XML with books and return first, third and last book from collection
|
||||
3. Take XML with books and return book with id = 7 from collection
|
||||
4. Take XML with books and return all books from year 2018
|
||||
5. Take XML with books and return all books which was released between 1990 and 1995
|
||||
6. Take XML with books and return book with title starting with word Harry
|
||||
7. Take XML with books and return book witch contains word "Law" in the title
|
||||
8. Take XML with books and return all attributes that are named id use // operator
|
||||
9. Take XML with books and return all attributes that are named id don't use // operator
|
||||
10. Take XML with books and return all node names in document
|
||||
11. Take XML with books and return book written by authors which are still alive
|
||||
12. Take XML with readers and sum age of all readers
|
||||
13. Take XML with readers and return age node name without namespace for book with id = 7
|
||||
14. Take XML with readers and return lastname node name with namespace for book with id = 4
|
||||
15. Take XML with readers and return namespace for reader with id = 2
|
||||
16. Take XML with readers and return first name and last name for each reader in following format: first name , last name
|
||||
17. Take XML with readers and return all child nodes of each reader
|
||||
18. Take XML with book or reader try write XPath expressions for each Xpath Axes operator
|
||||
Reference in New Issue
Block a user