class

XPi

@Js
class XPi : XNode

XML processing instruction node.

constructors make

Construct a processing instruction with specified target and val

fields val

String value of processing instruction

target

Target name for the processing instruction

methods toStr

Return string representation of this processing instruction

nodeType

Return the XNodeType.pi

write

Write this node to the output stream

make new make(Str target, Str val)

Construct a processing instruction with specified target and val.

nodeType virtual XNodeType nodeType()

Return the XNodeType.pi.

target Str : target

Target name for the processing instruction. It must be a valid XML name production.

toStr virtual Str toStr()

Return string representation of this processing instruction.

val Str : val

String value of processing instruction. This value must not contain the "?>".

write virtual Void write(OutStream out)

Write this node to the output stream.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST