Chapter 3. Creating and Using Templates
This chapter is all about creating and using templates, which are at the heart of XSLT stylesheets. Each template creates a rule that the XSLT processor tries to apply to the source document.
Chapter 2 took a look at stylesheets in overview, and introduced basic templates so that the stylesheet examples would actually do something. In this chapter, you’re going to work with templates in depth, and in the next chapter you’ll see what kinds of expressions you can use to create match patterns in templates so that they match the nodes you want. XSLT match patterns are a subset of the full XPath language, ...
Get Inside XSLT 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.