Method Parser.XML.Tree.AbstractSimpleNode()->add_child()

class Parser.XML.Tree.AbstractSimpleNode

Method add_child

AbstractSimpleNode add_child(AbstractSimpleNode c)

Description

Adds the given node to the list of children of this node. The new node is added last in the list.

Note

The return value differs from the one returned by Node()->add_child().

Returns

The current node.

Note

To add a node first in the list, call add_child_after() with a second argument of 0 (zero).

See also

add_child_before(), add_child_after()