XML technologies / XSLT / Introduction to XSLT 2.0 / XSLT and XPath – round three / External sources: documents and entities
(Excerpt from "XSLT 2.0 & XPath 2.0" by Frank Bongers, Chapter 3.)
A transformation can include external sources of various kinds. Other XML documents are of particular interest: they can be processed alongside the source document, evaluated in the same way and contribute content to the result. If these additional sources could also be included dynamically, for example by reading corresponding references in the primary source, entirely new possibilities would open up for XSLT processing. As expected, XSLT meets this need (note: XPath also has an analogous function, fn:doc(), which offers similar capabilities but cannot resolve a base URI itself), through the function document().
Copyright © Galileo Press, Bonn 2008
You may print the online version for your private use.
Otherwise, this chapter from "XSLT 2.0 & XPath 2.0 ― Das umfassende Handbuch" is subject to the same terms as the printed edition: the work and all its parts are protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Galileo Press, Rheinwerkallee 4, 53227 Bonn