Summary

This chapter completes our tour of the document() function. This powerful function allows us to generate an output document containing elements from many different input documents. In our examples here, we generated several views of those input documents, but many more combinations might be useful. The biggest benefit of the document() function is that it allows us to define views of multiple documents that are separate from those documents themselves. As we need to define other views, we don’t have to change our input documents. The document() function can save you a tremendous amount of development time in generating reports and other summarizing documents.

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