Summary

In this lesson, you learned about the need to transform one XML vocabulary to another. You saw how to use the xsl:copy element to make a shallow copy and the xsl:copy-of element to make a deep copy of elements from the source document. You also saw how to create new elements using the xsl:element element and create new attributes in the output document using the xsl:attribute element.

Get Sams Teach Yourself XML in 10 Minutes 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.