The DomDocument class / xml.DomDocument methods |
Inserts a child DomNode object after another child DomNode for a DomDocument object.
insertAfterDocumentNode( node xml.DomNode, ref xml.DomNode )
Inserts a child DomNode object after another child DomNode for this DomDocument object ; node is the node to insert; ref is the reference node (the node after which the new node must be inserted).
Only Text nodes, Processing Instruction nodes, Document Fragment nodes, one Element node and one Document Type node allowed.
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).