ProcessingInstruction

extends Node

A ProcessingInstruction object represents an XML ProcessingInstruction node.

Constructors

ProcessingInstruction other, Node deep target = other.target; data = other.data; Node target, Node value this.target = target.stringValue(); data = value.stringValue();

Type Functions

data()

Get the data of this ProcessingInstruction.

Returns: a String node.

name()

Get the target of this ProcessingInstruction as a name.

string()

Get the data of this ProcessingInstruction.

Same as: $this.data()

target()

Get the target of this ProcessingInstruction.

Returns: a String node.

Functions inherited from Node