Fantom

 

class

xml::XPi

sys::Obj
  xml::XNode
    xml::XPi

XML processing instruction node.

See docLib::Xml

Slots

makeSource

new make(Str target, Str val)

Construct a processing instruction with specified target and val.

nodeTypeSource

override XNodeType nodeType()

Return the XNodeType.pi.

targetSource

Str target

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

toStrSource

override Str toStr()

Overrides sys::Obj.toStr

Return string representation of this processing instruction.

valSource

Str val

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

writeSource

override Void write(OutStream out)

Overrides xml::XNode.write

Write this node to the output stream.