iya-sts
    Preparing search index...
    Index
    MAPS: Record<string, { body: string[]; header: string[] }> = MAPS
    PREFIXES: Record<string, string> = PREFIXES
    SWITCHES: Record<string, string> = SWITCHES
    TARGETS: string[] = TARGETS
    • The map's values with one preset added or taken out. Every other value is kept, in its order; an added expression goes last, once.

      Parameters

      • values: string[]

        the map's values

      • map: string

        the map's attribute name

      • part: string

        body or header

      • on: boolean

        add when true, take out when false

      Returns string[]

      the new values

    • The expressions one preset writes into one map.

      Parameters

      • map: string

        a map's attribute name

      • part: string

        body or header

      Returns string[]

      the expressions, or none for a map or part there is no preset for

    • Whether a preset is ticked: every one of its expressions is a value of the map, compared with its surrounding white space removed.

      Parameters

      • values: string[]

        the map's values

      • map: string

        the map's attribute name

      • part: string

        body or header

      Returns boolean

      true when the box is ticked

    • An absolute expression for one element: a step for it and for each ancestor, from the document element down.

      Parameters

      • chain: { local: string; ns: string }[]

        { local, ns } from the document element to the element

      Returns string

      the expression, or '' where a step cannot be written

    • An element's name as a step of an expression: prefix:local with this service's prefix for its namespace, else *[local-name()='…' and namespace-uri()='…'], else the bare name for no namespace. The XPath builder writes each step this way, so what it writes is in the subset the service evaluates.

      Parameters

      • local: string

        the local name

      • ns: string

        the namespace, or '' for none

      Returns string

      the step, or '' for a name or namespace holding an apostrophe: the subset's literals are single-quoted and XPath 1.0 has no escape, so no expression in it can name one (#2007's review)