@designliquido/xpath
    Preparing search index...

    Interface KindTest

    KindTest represents tests for specific node kinds Used in path expressions and sequence types

    interface KindTest {
        name: string;
        matches(value: any): boolean;
        namespace?: string;
        isWildcard?: boolean;
        atomicType?: AtomicType;
        nodeKind: string;
        nodeName?: string;
        nodeType?: string;
        isWildcardName?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    name: string

    Human-readable name of the item type

    namespace?: string

    Get the type's namespace URI (if applicable)

    isWildcard?: boolean

    Indicates if this is a wildcard match (matches any item)

    atomicType?: AtomicType

    For atomic types, reference to the AtomicType

    nodeKind: string

    The node kind being tested Possible values: 'element', 'attribute', 'text', 'comment', 'processing-instruction', 'document-node'

    nodeName?: string

    Optional name constraint for the node

    nodeType?: string

    Optional type constraint for the node

    isWildcardName?: boolean

    Indicates if name is a wildcard (*)

    Methods