Appendix A. Case Studies

This appendix provides examples that use many of the XPath and XSLT functions as well as the XSLT elements presented in this book. They are drawn directly, or otherwise derived, from real-world applications of XSLT. They have been chosen for their high likelihood of applicable relevance to most readers' needs. Each example is included on the CD.

There are many more uses of XSLT than are represented here. Be sure to review the examples of the <xsl:key> top-level element and key() function in Jeni Tennison's contributed Appendix B, “Grouping Using the Muenchian Method,” as well as the unique application of XSLT to the classic N-Queens problem in artificial intelligence, by Oren Ben-Kiki, in Appendix C.

In this appendix, ...

Get XSLT and XPATH: A Guide to XML Transformations now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.