O'Reilly logo

Sams Teach Yourself XSLT in 21 Days by Michiel van Otegem

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

WEEK 1 DAY 7 Controlling the Output

In yesterday’s lesson, you learned how to select and operate on data by using pull processing, which is the opposite of push processing employed when nodes are matched by templates. This capability allows you to manipulate the flow of control in the stylesheet. You also learned about conditional processing, so code is executed only if certain conditions are met. With this knowledge, you can insert elements, attributes, and text at the point in the output where you want it. This, however, doesn’t give you 100% control over the output because the output is still rendered with the default output parameters.

The focus of today’s lesson is manipulating these parameters so that every element, attribute, or piece ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required