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 6 Conditional and Iterative Processing

Yesterday you learned how to insert text, elements, and attributes into the resulting output. You also learned how to copy elements from the source document into the resulting output. These skills are important when you’re transforming XML because you now can create nearly all sorts of output from an element or attribute.

Also key to the transformation process is the flow of control. Currently, you can influence it—and thus what the output looks like—through the use of templates. Although templates are powerful, they are not always the best tool when you need to differentiate between nodes to be inserted.

The focus of today’s lesson is XSLT functionality that enables you to selectively act on ...

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