xml.DomNode.insertAfterChild

Inserts a DomNode object after an existing child DomNode object.

Syntax

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

Usage

Use this method to inserts a DomNode object after an existing child DomNode object; newChild is the node to insert, refChild is the reference node (the node before which the new node must be inserted).

Important: This method is not part of W3C standard API.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).