SimpleXML.add

Adds a new element to the root element of the document.

  1. Node add(T[] name, T[] value)
  2. Node add(Element element)
    class SimpleXML(T)
    final
    add
  3. Node add(Attribute attribute)

Return Value

Type: Node

a reference to the element

Meta