StaticContextSettings ClassStaticContextSettings ClassStaticContextSettings Class
This serves as a base class for the user-controllable static context settings of XQuery 1.0, XPath 2.0 and XSLT 2.0.
Inheritance Hierarchy
- System.ObjectSystem.ObjectSystem::Object
- XmlPrime.StaticContextSettingsXmlPrime.StaticContextSettingsXmlPrime::StaticContextSettings
- XmlPrime.XQuerySettingsXmlPrime.XQuerySettingsXmlPrime::XQuerySettings
- XmlPrime.XPathSettingsXmlPrime.XPathSettingsXmlPrime::XPathSettings
The StaticContextSettingsStaticContextSettingsStaticContextSettings
type exposes the following members.
Constructors
Constructor | Description | |
---|---|---|
StaticContextSettings (XmlNameTable)StaticContextSettings (XmlNameTable)StaticContextSettings (XmlNameTable^) | Initializes a new instance of the StaticContextSettingsStaticContextSettingsStaticContextSettings class with the specified XmlNameTableXmlNameTableXmlNameTable. | |
StaticContextSettings (XmlNameTable, IXmlNamespaceResolver)StaticContextSettings (XmlNameTable, IXmlNamespaceResolver)StaticContextSettings (XmlNameTable^, IXmlNamespaceResolver^) | Initializes a new instance of the StaticContextSettingsStaticContextSettingsStaticContextSettings class with the specified XmlNameTableXmlNameTableXmlNameTable and in scope namespaces. |
Properties
Property | Description | |
---|---|---|
BaseURIBaseURIBaseURI | Gets or sets the base URI. | |
CollationResolverCollationResolverCollationResolver | Gets or sets the resolver for collation URIs . | |
CollectionTypeResolverCollectionTypeResolverCollectionTypeResolver |
Sets the resolver used to compute the type of calls to the fn:collection function .
| |
CompilationWarningsCompilationWarningsCompilationWarnings | Gets or sets a value specifying which compilation warnings should be reported. | |
ContextItemTypeContextItemTypeContextItemType | Gets or sets the static type of the initial context item. | |
DefaultCollationDefaultCollationDefaultCollation | Gets or sets the default collation URI. | |
DefaultElementNamespaceDefaultElementNamespaceDefaultElementNamespace | Gets the default namespace for element and type names. | |
DefaultFunctionNamespaceDefaultFunctionNamespaceDefaultFunctionNamespace | Gets or sets the default namespace for function names. | |
DocumentTypeResolverDocumentTypeResolverDocumentTypeResolver |
Sets the resolver used to compute the type of calls to the fn:doc function.
| |
InputSettingsInputSettingsInputSettings | Gets or sets the input settings. | |
LibrariesLibrariesLibraries | Gets or sets the set of additional libraries available to the query. | |
NamespacesNamespacesNamespaces | Gets or sets the statically known namespaces. | |
NameTableNameTableNameTable | Gets the XmlNameTableXmlNameTableXmlNameTable to be used for atomized string comparisons. | |
OptimizationLevelOptimizationLevelOptimizationLevel | Gets or sets the level of optimization to perform when compiling an XPath expressiona, an XQuery program or an XSL transformation. | |
ParameterTypesParameterTypesParameterTypes | Gets the parameter types. | |
SchemasSchemasSchemas | Gets or sets the set of schemas used for type checking and schema validation in the query. | |
TypeCheckingModeTypeCheckingModeTypeCheckingMode | Gets or sets a value indicating the type checking mode to be used during compilation. | |
XmlVersionXmlVersionXmlVersion | Gets or sets the XML version to be used. |
Methods
Events
Event | Description | |
---|---|---|
CompilationErrorCompilationErrorCompilationError | Occurs when a compilation error is encountered. |
Remarks
The static context of an expression is the information that is available during static analysis of the expression, prior to its evaluation.