Transforming XML with XSLT

When it comes to transforming XML, it's safe to admire both the problem and the solution, which just so happens to be XSLT. But you already knew that because in the previous tutorial you learned the basics of XSLT and were quickly introduced to the XSLT language and the way to use it to create basic XSLT style sheets.

This tutorial picks up where the previous one left off by examining the XSLT language in more detail and showing you some interesting ways in which XSLT can be used to transform XML content. More specifically, you learn how to sort and process nodes, as well as how to perform conditional tests and computational operations with expressions. This tutorial arms you with the XSLT knowledge necessary to create practical XSLT style sheets that you can use in your own XML projects.

In this tutorial, you'll learn

  • More details about the XSLT style sheet language
  • How to process and sort nodes in an XSLT style sheet
  • How to use patterns and expressions in XSLT
  • How to apply XSLT style sheets to more challenging document transformation tasks