Now suppose you want to apply a stylesheet to catalog.xml
and output an XML file that has a structure similar to books.xml
. To do this, you must use the XSLT mapper to create a second stylesheet. This time, catalog.xml
is the source document and books.xml
is the destination document. The result of this mapping is a stylesheet that you can apply to documents that have a structure similar to that of catalog.xml.