commit b5895194d9e1ffce54b326ddfe9595e5111e6eb4 Author: Wojciech Mizia Date: Mon Jun 3 15:51:58 2024 +0200 add template files diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e99bc4d --- /dev/null +++ b/.gitignore @@ -0,0 +1,28 @@ +### Java ### +# Compiled class file +*.class + +# Log file +*.log + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +### Maven ### +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties + +.idea + diff --git a/README.md b/README.md new file mode 100644 index 0000000..2b38930 --- /dev/null +++ b/README.md @@ -0,0 +1,49 @@ +# XSLT-repository-tasks: + +## Use http://tools.release11.com/xml/xslt to transform xml and copy result from the site to corresponding file in solutions directory. + + +### 1. Take XML with books and calculate number of all books available. By following the guidelines below: +1. The XSLT file during transformation will receive src/main/resources/xml/book.xml as input. +2. The output resulting from the transformation should look like this file src/main/resources/output/1-available-books.xml. + +### 2. Take XML with books data and generate HTML web page with table of books. Sort books based on book name. By following the guidelines below: +1. The XSLT file during transformation will receive src/main/resources/xml/book.xml as input. +2. The output resulting from the transformation should look like this file src/main/resources/output/2-table-of-books.html. + +### 3. Take XML file with authors data and change original namespace to “http://marklogicacademy.ml/library/authors/v2”. By following the guidelines below: +1. The XSLT file during transformation will receive src/main/resources/xml/author.xml as input. +2. The output resulting from the transformation should look like this file src/main/resources/output/3-authors-namespace.xml. + +### 4. Take XML file with authors and generate file with dead authors. By following the guidelines below: +1. The XSLT file during transformation will receive src/main/resources/xml/author.xml as input. +2. The output resulting from the transformation should look like this file src/main/resources/output/4-death-authors.xml. + +### 5. Take XML file with authors and calculate the average age in which authors wrote their first book. By following the guidelines below: +1. The XSLT file during transformation will receive src/main/resources/xml/author.xml as input. +2. To use the src/main/resources/xml/book.xml file in the transformation load it to a variable in XSLT. +3. The returned value must be of type Duration. +4. The output resulting from the transformation should look like this file src/main/resources/output/5-average-authors-age.xml. + +### 6. Take XML file with books and generate file with not available books. By following the guidelines below: +1. The XSLT file during transformation will receive src/main/resources/xml/book.xml as input. +2. The output resulting from the transformation should look like this file src/main/resources/output/6-not-available-books.xml. + +### 7. Take XML with authors, join XML with books data and save the data in single file. By following the guidelines below: +1. The XSLT file during transformation will receive src/main/resources/xml/author.xml as input. +2. To use the src/main/resources/xml/book.xml file in the transformation load it to a variable in XSLT. +3. The output resulting from the transformation should look like this file src/main/resources/output/7-authors-with-books.xml. + +### 8. Take XML file with authors data and books data and generate new file with authors who wrote more than 3 books. By following the guidelines below: +1. The XSLT file during transformation will receive src/main/resources/xml/author.xml as input. +2. To use the src/main/resources/xml/book.xml file in the transformation load it to a variable in XSLT. +3. The output resulting from the transformation should look like this file src/main/resources/output/8-who-wrote-more-than-3-books.xml. + +### 9. Take XML with authors data and transform all attributes into elements. New elements should inherit namespace of parent element. By following the guidelines below: +1. The XSLT file during transformation will receive src/main/resources/xml/author.xml as input. +2. The output resulting from the transformation should look like this file src/main/resources/output/9-attributes-into-elements.xml. + +### 10. Take XML with history of book borrows and generate file with top 3 most popular books. By following the guidelines below: +1. The XSLT file during transformation will receive src/main/resources/xml/book.xml as input. +2. To use the src/main/resources/xml/author.xml file in the transformation load it to a variable in XSLT. +3. The output resulting from the transformation should look like this file src/main/resources/output/10-most-popular-books.xml. diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..4826c32 --- /dev/null +++ b/pom.xml @@ -0,0 +1,96 @@ + + + 4.0.0 + + com.r11.xsd + xsd + 1.0 + + + 11 + 11 + UTF-8 + + + + + org.junit.jupiter + junit-jupiter-api + 5.9.0 + test + + + org.junit.jupiter + junit-jupiter-engine + 5.9.0 + test + + + + org.eclipse.jgit + org.eclipse.jgit + 6.3.0.202209071007-r + + + + + org.eclipse.jgit + org.eclipse.jgit.ssh.jsch + 6.3.0.202209071007-r + + + com.jcraft + jsch + + + + + com.github.mwiede + jsch + 0.2.4 + + + + org.eclipse.jgit + org.eclipse.jgit.ssh.apache + 6.3.0.202209071007-r + + + jaxb + activation + 1.0.2 + + + javax.xml.bind + jaxb-api + 2.3.0 + + + com.sun.xml.bind + jaxb-core + 2.3.0 + + + com.sun.xml.bind + jaxb-impl + 2.3.0 + + + jaxen + jaxen + 1.2.0 + + + net.sf.saxon + Saxon-HE + 11.4 + + + xml-resolver + xml-resolver + 1.2 + + + \ No newline at end of file diff --git a/src/main/resources/output/.gitkeep b/src/main/resources/output/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/main/resources/output/1-available-books.xml b/src/main/resources/output/1-available-books.xml new file mode 100644 index 0000000..87cf1c2 --- /dev/null +++ b/src/main/resources/output/1-available-books.xml @@ -0,0 +1,2 @@ + +9 diff --git a/src/main/resources/output/10-most-popular-books.xml b/src/main/resources/output/10-most-popular-books.xml new file mode 100644 index 0000000..5ca18b8 --- /dev/null +++ b/src/main/resources/output/10-most-popular-books.xml @@ -0,0 +1,18 @@ + + + + 1 + 3 + Hamlet + + + 3 + 2 + Harry Potter and the Sorcerer's Stone + + + 2 + 1 + Macbeth + + diff --git a/src/main/resources/output/2-table-of-books.html b/src/main/resources/output/2-table-of-books.html new file mode 100644 index 0000000..25cf568 --- /dev/null +++ b/src/main/resources/output/2-table-of-books.html @@ -0,0 +1,99 @@ + + + +

Books

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BookDateAvailability
Hamlet2001-05-04false
Macbeth2000-12-13false
Harry Potter and the Sorcerer's Stone2005-04-29true
The Long Walk2018-07-01true
Misery2018-01-31true
Think and Grow Rich2004-09-10true
The Law of Success1982-05-09false
Patriot Games1995-10-21false
The Sum of All Fears1992-09-19false
The Alchemist2017-02-20false
Hamlet1994-06-01false
Measure for Measure1990-03-23false
Hamlet1989-05-05true
Hamlet1999-05-30true
The Law of Success2004-11-26true
Romeo and Juliet1997-02-08true
The Alchemist2009-08-21true
+ + \ No newline at end of file diff --git a/src/main/resources/output/3-authors-namespace.xml b/src/main/resources/output/3-authors-namespace.xml new file mode 100644 index 0000000..13ced6e --- /dev/null +++ b/src/main/resources/output/3-authors-namespace.xml @@ -0,0 +1,60 @@ + + + + William + Shakespeare + 1564-04-23 + 1616-04-23 + + + J.K. + Rowling + 1965-07-31 + + + Paulo + Coelho + 1947-08-24 + + + Stephen + King + 1947-09-21 + + + Tom + Clancy + 1947-04-12 + 2013-10-01 + + + Napoleon + Hill + 1883-09-26 + 1970-11-08 + + diff --git a/src/main/resources/output/4-death-authors.xml b/src/main/resources/output/4-death-authors.xml new file mode 100644 index 0000000..7654c4a --- /dev/null +++ b/src/main/resources/output/4-death-authors.xml @@ -0,0 +1,25 @@ + + + + William + Shakespeare + 1564-04-23 + 1616-04-23 + + + Tom + Clancy + 1947-04-12 + 2013-10-01 + + + Napoleon + Hill + 1883-09-26 + 1970-11-08 + + diff --git a/src/main/resources/output/5-average-authors-age.xml b/src/main/resources/output/5-average-authors-age.xml new file mode 100644 index 0000000..dc2d363 --- /dev/null +++ b/src/main/resources/output/5-average-authors-age.xml @@ -0,0 +1,2 @@ + +P45119DT8H diff --git a/src/main/resources/output/6-not-available-books.xml b/src/main/resources/output/6-not-available-books.xml new file mode 100644 index 0000000..19642c3 --- /dev/null +++ b/src/main/resources/output/6-not-available-books.xml @@ -0,0 +1,54 @@ + + + + Hamlet + 2001-05-04 + 1 + false + + + Macbeth + 2000-12-13 + 1 + false + + + The Law of Success + 1982-05-09 + 6 + false + + + Patriot Games + 1995-10-21 + 5 + false + + + The Sum of All Fears + 1992-09-19 + 5 + false + + + The Alchemist + 2017-02-20 + 3 + false + + + Hamlet + 1994-06-01 + 1 + false + + + Measure for Measure + 1990-03-23 + 1 + false + + diff --git a/src/main/resources/output/7-authors-with-books.xml b/src/main/resources/output/7-authors-with-books.xml new file mode 100644 index 0000000..ea60a89 --- /dev/null +++ b/src/main/resources/output/7-authors-with-books.xml @@ -0,0 +1,237 @@ + + + + + William + Shakespeare + 1564-04-23 + 1616-04-23 + + + + Hamlet + 2001-05-04 + 1 + false + + + Macbeth + 2000-12-13 + 1 + false + + + Hamlet + 1994-06-01 + 1 + false + + + Measure for Measure + 1990-03-23 + 1 + false + + + Hamlet + 1989-05-05 + 1 + true + + + Hamlet + 1999-05-30 + 1 + true + + + Romeo and Juliet + 1997-02-08 + 1 + true + + + + + + J.K. + Rowling + 1965-07-31 + + + + Harry Potter and the Sorcerer's Stone + 2005-04-29 + 2 + true + + + + + + Paulo + Coelho + 1947-08-24 + + + + The Alchemist + 2017-02-20 + 3 + false + + + The Alchemist + 2009-08-21 + 3 + true + + + + + + Stephen + King + 1947-09-21 + + + + The Long Walk + 2018-07-01 + 4 + true + + + Misery + 2018-01-31 + 4 + true + + + + + + Tom + Clancy + 1947-04-12 + 2013-10-01 + + + + Patriot Games + 1995-10-21 + 5 + false + + + The Sum of All Fears + 1992-09-19 + 5 + false + + + + + + Napoleon + Hill + 1883-09-26 + 1970-11-08 + + + + Think and Grow Rich + 2004-09-10 + 6 + true + + + The Law of Success + 1982-05-09 + 6 + false + + + The Law of Success + 2004-11-26 + 6 + true + + + + diff --git a/src/main/resources/output/8-who-wrote-more-than-3-books.xml b/src/main/resources/output/8-who-wrote-more-than-3-books.xml new file mode 100644 index 0000000..c5b9aa5 --- /dev/null +++ b/src/main/resources/output/8-who-wrote-more-than-3-books.xml @@ -0,0 +1,8 @@ + + + + William + Shakespeare + 7 + + diff --git a/src/main/resources/output/9-attributes-into-elements.xml b/src/main/resources/output/9-attributes-into-elements.xml new file mode 100644 index 0000000..1ee5162 --- /dev/null +++ b/src/main/resources/output/9-attributes-into-elements.xml @@ -0,0 +1,46 @@ + + + + 1 + William + Shakespeare + 1564-04-23 + 1616-04-23 + + + 2 + J.K. + Rowling + 1965-07-31 + + + 3 + Paulo + Coelho + 1947-08-24 + + + 4 + Stephen + King + 1947-09-21 + + + 5 + Tom + Clancy + 1947-04-12 + 2013-10-01 + + + 6 + Napoleon + Hill + 1883-09-26 + 1970-11-08 + + diff --git a/src/main/resources/solutions/.gitkeep b/src/main/resources/solutions/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/main/resources/solutions/1-available-books.xml b/src/main/resources/solutions/1-available-books.xml new file mode 100644 index 0000000..f100196 --- /dev/null +++ b/src/main/resources/solutions/1-available-books.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/solutions/10-most-popular-books.xml b/src/main/resources/solutions/10-most-popular-books.xml new file mode 100644 index 0000000..f100196 --- /dev/null +++ b/src/main/resources/solutions/10-most-popular-books.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/solutions/2-table-of-books.html b/src/main/resources/solutions/2-table-of-books.html new file mode 100644 index 0000000..f100196 --- /dev/null +++ b/src/main/resources/solutions/2-table-of-books.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/solutions/3-authors-namespace.xml b/src/main/resources/solutions/3-authors-namespace.xml new file mode 100644 index 0000000..f100196 --- /dev/null +++ b/src/main/resources/solutions/3-authors-namespace.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/solutions/4-death-authors.xml b/src/main/resources/solutions/4-death-authors.xml new file mode 100644 index 0000000..f100196 --- /dev/null +++ b/src/main/resources/solutions/4-death-authors.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/solutions/5-average-authors-age.xml b/src/main/resources/solutions/5-average-authors-age.xml new file mode 100644 index 0000000..f100196 --- /dev/null +++ b/src/main/resources/solutions/5-average-authors-age.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/solutions/6-not-available-books.xml b/src/main/resources/solutions/6-not-available-books.xml new file mode 100644 index 0000000..f100196 --- /dev/null +++ b/src/main/resources/solutions/6-not-available-books.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/solutions/7-authors-with-books.xml b/src/main/resources/solutions/7-authors-with-books.xml new file mode 100644 index 0000000..f100196 --- /dev/null +++ b/src/main/resources/solutions/7-authors-with-books.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/solutions/8-who-wrote-more-than-3-books.xml b/src/main/resources/solutions/8-who-wrote-more-than-3-books.xml new file mode 100644 index 0000000..f100196 --- /dev/null +++ b/src/main/resources/solutions/8-who-wrote-more-than-3-books.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/solutions/9-attributes-into-elements.xml b/src/main/resources/solutions/9-attributes-into-elements.xml new file mode 100644 index 0000000..f100196 --- /dev/null +++ b/src/main/resources/solutions/9-attributes-into-elements.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/xml/.gitkeep b/src/main/resources/xml/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/main/resources/xml/author.xml b/src/main/resources/xml/author.xml new file mode 100644 index 0000000..ecca10e --- /dev/null +++ b/src/main/resources/xml/author.xml @@ -0,0 +1,40 @@ + + + + William + Shakespeare + 1564-04-23 + 1616-04-23 + + + J.K. + Rowling + 1965-07-31 + + + Paulo + Coelho + 1947-08-24 + + + Stephen + King + 1947-09-21 + + + Tom + Clancy + 1947-04-12 + 2013-10-01 + + + Napoleon + Hill + 1883-09-26 + 1970-11-08 + + diff --git a/src/main/resources/xml/author.xsd b/src/main/resources/xml/author.xsd new file mode 100644 index 0000000..1b12430 --- /dev/null +++ b/src/main/resources/xml/author.xsd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/xml/book.xml b/src/main/resources/xml/book.xml new file mode 100644 index 0000000..8766e05 --- /dev/null +++ b/src/main/resources/xml/book.xml @@ -0,0 +1,108 @@ + + + + Hamlet + 2001-05-04 + 1 + false + + + Macbeth + 2000-12-13 + 1 + false + + + Harry Potter and the Sorcerer's Stone + 2005-04-29 + 2 + true + + + The Long Walk + 2018-07-01 + 4 + true + + + Misery + 2018-01-31 + 4 + true + + + Think and Grow Rich + 2004-09-10 + 6 + true + + + The Law of Success + 1982-05-09 + 6 + false + + + Patriot Games + 1995-10-21 + 5 + false + + + The Sum of All Fears + 1992-09-19 + 5 + false + + + The Alchemist + 2017-02-20 + 3 + false + + + Hamlet + 1994-06-01 + 1 + false + + + Measure for Measure + 1990-03-23 + 1 + false + + + Hamlet + 1989-05-05 + 1 + true + + + Hamlet + 1999-05-30 + 1 + true + + + The Law of Success + 2004-11-26 + 6 + true + + + Romeo and Juliet + 1997-02-08 + 1 + true + + + The Alchemist + 2009-08-21 + 3 + true + + diff --git a/src/main/resources/xml/book.xsd b/src/main/resources/xml/book.xsd new file mode 100644 index 0000000..db2f9bb --- /dev/null +++ b/src/main/resources/xml/book.xsd @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/xml/borrow.xml b/src/main/resources/xml/borrow.xml new file mode 100644 index 0000000..81e95bb --- /dev/null +++ b/src/main/resources/xml/borrow.xml @@ -0,0 +1,42 @@ + + + + 3 + 2 + + + 3 + 14 + + + 1 + 10 + + + 2 + 1 + + + 1 + 9 + + + 6 + 5 + + + 1 + 15 + + + 5 + 9 + + + 16 + 8 + + \ No newline at end of file diff --git a/src/main/resources/xml/person.xsd b/src/main/resources/xml/person.xsd new file mode 100644 index 0000000..aa5c797 --- /dev/null +++ b/src/main/resources/xml/person.xsd @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + diff --git a/src/main/resources/xml/reader.xml b/src/main/resources/xml/reader.xml new file mode 100644 index 0000000..28794e2 --- /dev/null +++ b/src/main/resources/xml/reader.xml @@ -0,0 +1,81 @@ + + + + John + Burg + 45 + 32 + 57 + + + Steven + Pick + 29 + 27 + 12 + 91 + + + + Peter + Stock + 21 + 42 + 1 + 9 + 98 + 60 + + + Robert + Neat + 32 + 87 + 23 + 11 + 7 + 55 + + + John + Pale + 36 + 81 + + + Josh + Ericson + 46 + 8 + + + Patrick + Evans + 50 + + + Paul + Navy + 23 + 69 + 78 + + + Rob + Rockwell + 30 + 47 + + + Luis + Pocket + 52 + 10 + 83 + 2 + + diff --git a/src/main/resources/xml/reader.xsd b/src/main/resources/xml/reader.xsd new file mode 100644 index 0000000..ff0b79a --- /dev/null +++ b/src/main/resources/xml/reader.xsd @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/xsd/1-available-books.xsd b/src/main/resources/xsd/1-available-books.xsd new file mode 100644 index 0000000..48052c9 --- /dev/null +++ b/src/main/resources/xsd/1-available-books.xsd @@ -0,0 +1,10 @@ + + + + + + + diff --git a/src/main/resources/xsd/10-most-popular-books.xsd b/src/main/resources/xsd/10-most-popular-books.xsd new file mode 100644 index 0000000..26165a5 --- /dev/null +++ b/src/main/resources/xsd/10-most-popular-books.xsd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/xsd/2-table-of-books.xsd b/src/main/resources/xsd/2-table-of-books.xsd new file mode 100644 index 0000000..13974f7 --- /dev/null +++ b/src/main/resources/xsd/2-table-of-books.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/xsd/3-authors-namespace.xsd b/src/main/resources/xsd/3-authors-namespace.xsd new file mode 100644 index 0000000..becea21 --- /dev/null +++ b/src/main/resources/xsd/3-authors-namespace.xsd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/xsd/4-death-authors.xsd b/src/main/resources/xsd/4-death-authors.xsd new file mode 100644 index 0000000..1b12430 --- /dev/null +++ b/src/main/resources/xsd/4-death-authors.xsd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/xsd/5-average-authors-age.xsd b/src/main/resources/xsd/5-average-authors-age.xsd new file mode 100644 index 0000000..b09d310 --- /dev/null +++ b/src/main/resources/xsd/5-average-authors-age.xsd @@ -0,0 +1,10 @@ + + + + + + + diff --git a/src/main/resources/xsd/6-not-available-books.xsd b/src/main/resources/xsd/6-not-available-books.xsd new file mode 100644 index 0000000..37537a0 --- /dev/null +++ b/src/main/resources/xsd/6-not-available-books.xsd @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/xsd/7-authors-with-books.xsd b/src/main/resources/xsd/7-authors-with-books.xsd new file mode 100644 index 0000000..8d56b92 --- /dev/null +++ b/src/main/resources/xsd/7-authors-with-books.xsd @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/xsd/8-who-wrote-more-than-3-books.xsd b/src/main/resources/xsd/8-who-wrote-more-than-3-books.xsd new file mode 100644 index 0000000..df7c536 --- /dev/null +++ b/src/main/resources/xsd/8-who-wrote-more-than-3-books.xsd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/xsd/9-attributes-into-elements.xsd b/src/main/resources/xsd/9-attributes-into-elements.xsd new file mode 100644 index 0000000..274b5bc --- /dev/null +++ b/src/main/resources/xsd/9-attributes-into-elements.xsd @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/xslt/.gitkeep b/src/main/resources/xslt/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/main/resources/xslt/1-available-books.xslt b/src/main/resources/xslt/1-available-books.xslt new file mode 100644 index 0000000..b994f53 --- /dev/null +++ b/src/main/resources/xslt/1-available-books.xslt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/xslt/10-most-popular-books.xslt b/src/main/resources/xslt/10-most-popular-books.xslt new file mode 100644 index 0000000..b994f53 --- /dev/null +++ b/src/main/resources/xslt/10-most-popular-books.xslt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/xslt/2-table-of-books.xslt b/src/main/resources/xslt/2-table-of-books.xslt new file mode 100644 index 0000000..b994f53 --- /dev/null +++ b/src/main/resources/xslt/2-table-of-books.xslt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/xslt/3-authors-namespace.xslt b/src/main/resources/xslt/3-authors-namespace.xslt new file mode 100644 index 0000000..b994f53 --- /dev/null +++ b/src/main/resources/xslt/3-authors-namespace.xslt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/xslt/4-death-authors.xslt b/src/main/resources/xslt/4-death-authors.xslt new file mode 100644 index 0000000..b994f53 --- /dev/null +++ b/src/main/resources/xslt/4-death-authors.xslt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/xslt/5-average-authors-age.xslt b/src/main/resources/xslt/5-average-authors-age.xslt new file mode 100644 index 0000000..b994f53 --- /dev/null +++ b/src/main/resources/xslt/5-average-authors-age.xslt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/xslt/6-not-available-books.xslt b/src/main/resources/xslt/6-not-available-books.xslt new file mode 100644 index 0000000..b994f53 --- /dev/null +++ b/src/main/resources/xslt/6-not-available-books.xslt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/xslt/7-authors-with-books.xslt b/src/main/resources/xslt/7-authors-with-books.xslt new file mode 100644 index 0000000..b994f53 --- /dev/null +++ b/src/main/resources/xslt/7-authors-with-books.xslt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/xslt/8-who-wrote-more-than-3-books.xslt b/src/main/resources/xslt/8-who-wrote-more-than-3-books.xslt new file mode 100644 index 0000000..b994f53 --- /dev/null +++ b/src/main/resources/xslt/8-who-wrote-more-than-3-books.xslt @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/resources/xslt/9-attributes-into-elements.xslt b/src/main/resources/xslt/9-attributes-into-elements.xslt new file mode 100644 index 0000000..b994f53 --- /dev/null +++ b/src/main/resources/xslt/9-attributes-into-elements.xslt @@ -0,0 +1 @@ + \ No newline at end of file