XPi
@Js
class XPi : XNode
XML processing instruction node.
Construct a processing instruction with specified target and val
String value of processing instruction
Target name for the processing instruction
Return string representation of this processing instruction
Return the XNodeType.pi
Write this node to the output stream
new make(Str target, Str val)
Construct a processing instruction with specified target and val.
virtual XNodeType nodeType()
Return the XNodeType.pi.
Str : target
Target name for the processing instruction. It must be a valid XML name production.
virtual Str toStr()
Return string representation of this processing instruction.
Str : val
String value of processing instruction. This value must not contain the "?>".
virtual Void write(OutStream out)
Write this node to the output stream.