Skip to main content

ProcessingInstruction

Processing instructions, including doc types.

The ProcessingInstruction element extends the one from Domhandler to add some extra properties (https://domhandler.js.org/classes/ProcessingInstruction.html)

Hierarchy

Index

Constructors

constructor

Properties

children

children: Node[] = []

close

close: undefined | CharValue

data

data: string

loc

loc: Range

name

name: string

open

open: CharValue

parent

parent: null | NodeWithChildren = null

optionalx-name

x-name?: string

optionalx-publicId

x-publicId?: string

optionalx-systemId

x-systemId?: string

Accessors

nodeValue

  • get nodeValue(): string
  • set nodeValue(data: string): void
  • Returns string

  • Parameters

    • data: string

    Returns void