@designliquido/xpath
    Preparing search index...

    Interface XPathVersionConfig

    XPath version configuration and feature flags.

    interface XPathVersionConfig {
        version: XPathVersion;
        features: {
            sequences?: boolean;
            typeSystem?: boolean;
            ifThenElse?: boolean;
            forExpressions?: boolean;
            quantifiedExpressions?: boolean;
            rangeExpressions?: boolean;
            higherOrderFunctions?: boolean;
            mapSupport?: boolean;
            arraySupport?: boolean;
            arrowOperator?: boolean;
            stringTemplates?: boolean;
            mapArrayConstructors?: boolean;
            jsonSupport?: boolean;
        };
        backwardCompatible?: boolean;
    }
    Index

    Properties

    version: XPathVersion

    XPath specification version.

    features: {
        sequences?: boolean;
        typeSystem?: boolean;
        ifThenElse?: boolean;
        forExpressions?: boolean;
        quantifiedExpressions?: boolean;
        rangeExpressions?: boolean;
        higherOrderFunctions?: boolean;
        mapSupport?: boolean;
        arraySupport?: boolean;
        arrowOperator?: boolean;
        stringTemplates?: boolean;
        mapArrayConstructors?: boolean;
        jsonSupport?: boolean;
    }

    Feature flags for version-specific behavior.

    Type Declaration

    • Optionalsequences?: boolean

      XPath 2.0+ features

    • OptionaltypeSystem?: boolean
    • OptionalifThenElse?: boolean
    • OptionalforExpressions?: boolean
    • OptionalquantifiedExpressions?: boolean
    • OptionalrangeExpressions?: boolean
    • OptionalhigherOrderFunctions?: boolean

      XPath 3.0+ features

    • OptionalmapSupport?: boolean
    • OptionalarraySupport?: boolean
    • OptionalarrowOperator?: boolean
    • OptionalstringTemplates?: boolean
    • OptionalmapArrayConstructors?: boolean

      XPath 3.1+ features

    • OptionaljsonSupport?: boolean
    backwardCompatible?: boolean

    Backward compatibility mode. When true, allows XPath 1.0 expressions in higher versions.