PhoenixmlDb.XQuery
ResourceRequest
What the engine is about to load, as put to .
#ResourceRequest
Namespace: PhoenixmlDb.XQuery.Security
What the engine is about to load, as put to
.
#Constructors
##ctor(String,Uri,PhoenixmlDb.XQuery.Security.ResourceAccessKind)
What the engine is about to load, as put to
.
Parameters:
-
Location— The location as written in the query, stylesheet or document. -
BaseUri— The base URI a relativeLocationis relative to, when known: for a call in a query or stylesheet, the static base URI in force there. The author of the module decides it (declare base-uri,xml:base), so it says nothing certain about who asks; for that, seeResourceRequest.ModuleUri. -
Access— Why it is being loaded: a document, text, or an import (module, schema, stylesheet).
#Properties
| Name | Description |
|---|---|
Access
|
Why it is being loaded: a document, text, or an import (module, schema, stylesheet). |
BaseUri
|
The base URI a relative Location is relative to, when known: for a call in a query or stylesheet, the static base URI in force there. The author of the module decides it (declare base-uri, xml:base), so it says nothing certain about who asks; for that, see ResourceRequest.ModuleUri.
|
Location
|
The location as written in the query, stylesheet or document. |
ModuleUri
|
Where the module that makes the request was loaded from, as the engine knows it: the location the host gave for the query or stylesheet, the URI an import named, or the base URI the host gave with content it supplied. The module cannot change it. Null when no module makes the request (a document another document includes, a redirect) or the engine knows no location for the module. |