Provided, is a skeleton XSLT add-transforms-here.xsl and a sample XML fake_book_sample_1.xml. Update add-transforms-here.xml to process any "book" XMl similar to the provided sample to produce:
A standalone book-summary XML with:
- A copy of the
book-meta - A same-named element for each book attribute
- A
book-part-countelement - A
chapter-countelement - A
first-chapter-titleelement
A standalone book-part-summary XML for each of the book parts, with:
- A
book-infoelement with child elements for the title, id, and xd of the book. - A
chapter-contentelement with the title and body of the book-part - A
contributorssection with each author from the book-part and from the book level
You may assume that each book will always have a unique ID, and each book-part will always have an ID that is unique per book
Please use the XsltTestRunner class to test your XSLT and view your current output. You may use and extend XsltTestEvaluator to see whether some basic and incomplete tests pass on your current output. Include all additions/updates in your PR, including comments on any additions, for us to review as a part of your evaluation.