class

XPi

@Js
class XPi : XNode

XML processing instruction node.

constructors make

Construct a processing instruction with specified target and val

fields target

Target name for the processing instruction

val

String value of processing instruction

methods nodeType

Return the XNodeType.pi

toStr

Return string representation of this processing instruction

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.6 ∙ 21-Jul-2026 09:48 EDT