When you map one XML file to another XML file, one file is the source document and one file is the destination document. Stylus Studio generates a stylesheet that you can apply to XML documents that have the same schema as the source document. After you apply the stylesheet, the result document has the same schema as the destination document.