The <resources> element

The resources element in the configuration file defines a number of resources that can be preloaded into the configuration. It contains child elements as detailed below, in any order; most of them can appear more than once.

Element

Values

Effect

externalObjectModel

Class that implements the ExternalObjectModel interface

Defines an external object model that can be used to provide input to Saxon (and in some cases receive output): for example DOM, JDOM, XOM, etc.

extensionFunction

Class that implements the IntegratedFunction interface

Defines an "integrated extension function" written to a specific Saxon API

schemaDocument

relative or absolute URI

A schema document to be preloaded into the Saxon schema cache

schemaComponentModel

relative or absolute URI

A schema component model document (previously exported by Saxon) allowing fast loading of a compiled schema