This chapter takes a detailed look at techniques you can use to work with document structures. As you’ll learn, XSL Transformations (XSLT) and XML Path (XPath) define many elements and functions that you can use to manipulate document sets and subsets. You can, for example, define multiple input documents that should be merged into a single output document. You can also copy selected parts of documents and write the selections to the output.
Of all the functions that XSLT and XPath define, the one function that really stands out is the
document() function. The
document() function is the one universal utility—the "Holy Grail"—that you’ll find ...