XML API Inputs

Constructors

Methods

  • Extract inputs (XML DOM nodes) from full XML document Using XPath

    Parameters

    • xmlDocument: Document
    • Optionaloptions: {
          filters?: OptionsFilter;
      }
      • Optionalfilters?: OptionsFilter

    Returns Element[]

  • Extract preview input number from full XML document using XPath

    Parameters

    • xmlDocument: Document

    Returns number

  • Extract active program input number from full XML document using XPath

    Parameters

    • xmlDocument: Document

    Returns number

  • Map (multiple) inputs

    Parameters

    • xmlInputs: Element[]
    • includeLayers: boolean = true
    • failOnUnknownInputType: boolean = false

    Returns BaseInput[]

    inputs

  • Map (multiple) inputs with allowing nullable

    Parameters

    • xmlInputs: Element[]
    • includeLayers: boolean = true
    • failOnUnknownInputType: boolean = false

    Returns (null | BaseInput)[]

  • Map single input

    Parameters

    • input: Element
    • includeLayers: boolean = true
    • failOnUnknownInputType: boolean = false

    Returns BaseInput

  • Map tally info including layers

    Parameters

    • xmlDocument: Document

    Returns TallySummary