xml.DomNode.insertBeforeChild
Inserts a DomNode object before an existing child DomNode object.
Syntax
insertBeforeChild(
newChild xml.DomNode,
refChild xml.DomNode )
- newChild defines the node to insert.
- refChild defines the reference node (the node before which the new node must be inserted).
Usage
Use this method to insert a DomNode
object before 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).
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).