WEEK 1 DAY 9 Working with Parameters

Yesterday you learned how to use variables to make stylesheets easier to read and edit and to perform tasks that are otherwise very hard or maybe even impossible to achieve. Variables therefore are very useful, but you cannot perform some tasks with variables.

In today’s lesson, you will learn about parameters. Parameters and variables are very much related, but with some key differences that are rooted in their different purposes. Unlike variables, parameters are meant to pass information from one template to another, or from outside a stylesheet into a stylesheet.

Today you will learn why these capabilities are useful and what you can do with them. Today you will learn the following:

• What parameters are ...

Get Sams Teach Yourself XSLT in 21 Days 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.