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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.