Resolving URIs

Saxon adopts a uniform approach to resolving and dereferencing these URIs.

The general approach is as follows:

URIs used within an XML document to refer to external entities (including the DTD) are a little different since they are generally handled by the XML parser, and not by Saxon itself. Nevertheless, Saxon attempts to offer an integrated approach. For more information on this, see Resolving entities.

URIs for result documents produced using the xsl:result-document instruction are handled using a ResultDocumentHandler registered with the XsltTransformer or Xslt30Transformer. For more information on how this works in both the Java s9api API and the Saxon.Api interface on .NET, see Secondary output.