Day 5 Inserting Text and Elements

Yesterday you learned all about using templates, that they are key to Extensible Stylesheet Language Transformations (XSLT), and that they can either be explicitly called or matched by the processor. When templates are being matched, multiple templates may match the current node. You have learned how to control which template is actually matched when this situation occurs, enabling you to control the output that is actually generated.

In today’s lesson, you will learn more details about inserting text and elements into the resulting output. You will learn how to do the following:

• Insert text with special characters

• Insert elements and attributes into the XML result

• Insert elements and attributes with a ...

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.