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