xml.DomNode.insertAfterChild

Inserts a DomNode object after an existing child DomNode object.

Syntax

insertAfterChild(
   node xml.DomNode,
   ref xml.DomNode )
  1. node is the node to insert.
  2. ref is the reference node (the node before which the new node must be inserted).

Usage

Inserts a DomNode object after an existing child DomNode object; node is the node to insert, ref is the reference node (the node before which the new node must be inserted).

CAUTION:
Not part of W3C API.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.