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.
Copyright © 2002 O'Reilly & Associates. All rights reserved.