XQuery/Validation using a Catalog

Motivation
You have a library of XML Schemas that you want to associate with namespaces.

Method
An XML Catalog file contains a list of URIs and the files use to validate them.

For example the following is a catalog file that describes how DocBook files should be validated: