XPathOptionalFeatures EnumerationXPathOptionalFeatures EnumerationXPathOptionalFeatures Enumeration

Specifies optional XPath features which may be switched off.

This enumeration has a FlagsAttributeFlagsAttributeFlagsAttribute attribute that allows a bitwise combination of its member values.

Syntax

Public Enumeration XPathOptionalFeatures
public enum XPathOptionalFeatures
public:
enum XPathOptionalFeatures
 
The XPathOptionalFeaturesXPathOptionalFeaturesXPathOptionalFeatures type exposes the following members.

Members

 MemberDescription
MemberAllFeaturesAllFeaturesAllFeatures All optional features are enabled.
MemberLoadXQueryModuleFunctionLoadXQueryModuleFunctionLoadXQueryModuleFunction Enables use of the XPath and XQuery Functions and Operators 3.1 fn:load-xquery-module function.
MemberNoneNoneNone Minimal conformance. No optional features are enabled.
MemberTransformFunctionTransformFunctionTransformFunction Enables use of the XPath and XQuery Functions and Operators 3.1 fn:transform function.

Top

Remarks

Use the EnabledFeaturesEnabledFeaturesEnabledFeatures property to enable or disable optional XPath features. Disabling a feature causes an error to be raised during compilation of an expression if the feature is used in that query.

Note that the Static Typing Feature may be enabled by setting the TypeCheckingModeTypeCheckingModeTypeCheckingMode properties to StaticStaticStatic or PedanticPedanticPedantic.