O'Reilly logo

XML Pocket Consultant by William R. Stanek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 18. Restructuring Input Documents and Manipulating Document Subsets

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.

Combining and Merging Documents

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required