xml.DomDocument.insertAfterDocumentNode
Inserts a child xml.DomNode
object after another
child DomNode in this xml.DomDocument
object.
Syntax
insertAfterDocumentNode(
newNode xml.DomNode,
ref xml.DomNode )
- newNode defines the node to insert.
- ref defines the reference node (the node after which the new node must be inserted).
Usage
Inserts a child xml.DomNode
object after another child
xml.DomNode
in this xml.DomDocument
object ;
newNode is the node to insert; ref is the reference node (the
node after which the new node must be inserted).
Important:
This method is not part of W3C standard API.
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).