This is actually pretty straightforward. See Chapter 7, "Combining XML Documents" for a discussion of the XSLT document() function in all its glory.
Copyright © 2002 O'Reilly & Associates. All rights reserved.