Chapter 4
Templates Rule!
In This Chapter
Introducing template rules
Finding out how a template is processed
Using xsl:apply-templates, xsl:copy, xsl:copy-of, and xsl:value-of
Introducing built-in template rules
Matching the best template
Working with attribute value templates
Understanding named templates
T emplate rules are the foundation of XSLT. Not only do they specify what information should be pulled from the source document, but template rules also define what the resulting document is going to look like. Think of them as the bricks of a chimney, the shingles of a roof, the pages of this book, nuggets in a 12-piece McNugget Value Meal. Well, you get the idea, right? Template rules are the basic building blocks of XSLT and nothing much happens in “transformation-land” without ...
Get XSLT for Dummies 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.