IDocumentTypeResolver InterfaceIDocumentTypeResolver InterfaceIDocumentTypeResolver Interface
Properties
Property | Description | |
---|---|---|
![]() | DefaultDocumentTypeDefaultDocumentTypeDefaultDocumentType | Gets the static type of all documents accessible from a query. |
Methods
Method | Description | |
---|---|---|
![]() | ResolveDocumentTypeResolveDocumentTypeResolveDocumentType | Resolves a URI to the type of the document represented at that URI. |
Remarks
The IDocumentTypeResolverIDocumentTypeResolverIDocumentTypeResolver interface is used to resolve the types of calls to the fn:doc
function.
The IDocumentTypeResolverIDocumentTypeResolverIDocumentTypeResolver is specified using the DocumentTypeResolverDocumentTypeResolverDocumentTypeResolver property.
The document type resolver represents the statically known documents component of the static context.
If a document returned from the DocumentSetDocumentSetDocumentSet at runtime does not match the type specified by the
IDocumentTypeResolverIDocumentTypeResolverIDocumentTypeResolver then an err:XPTY0004
error is raised.