insertBefore

Insert a node before a specific position.


            insertBefore
      (newChild, refChild)
         

Parameters

newChild

Node to insert.

refChild

Child node that must follow the node to insert.

Return value

Inserted node.

Features

Method of class: DOMNode

Available in:

  • Content management
  • Delivery properties
  • Delivery message
  • Typology rule
  • Import
  • JSSP
  • SOAP Method
  • WebApp
  • Workflow