@designliquido/xpath
    Preparing search index...

    Class ProcessingInstructionTest

    ProcessingInstructionTest: processing-instruction() or processing-instruction(target)

    Examples:

    • processing-instruction() - any processing instruction
    • processing-instruction(php) - processing instruction with target "php"

    Hierarchy

    • KindTestImpl
      • ProcessingInstructionTest
    Index

    Constructors

    Properties

    name: string

    Human-readable name of the item type

    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

    • Check if a value matches this ItemType

      Parameters

      • value: any

      Returns boolean