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 ...
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.