Element.opOpAssign

Append a processing instruction to the interior of this element

  1. void opOpAssign(Text item)
  2. void opOpAssign(CData item)
  3. void opOpAssign(Comment item)
  4. void opOpAssign(ProcessingInstruction item)
    class Element
    @safe pure
    void
    opOpAssign
    (
    string op : "~"
    )
  5. void opOpAssign(Element item)

Parameters

item ProcessingInstruction

the item you wish to append.

Examples

Element element;
element ~= new ProcessingInstruction("hello");

Meta