Contents

insertChildren(_:at:)

Inserts an array of child nodes at a specified location in the receiver’s list of children.

Declaration

func insertChildren(_ children: [XMLNode], at index: Int)

Parameters

  • children:

    An array of Xmlnode objects to insert as children of the receiver.

  • index:

    An integer identifying the location in the list of current children to make the insertion. The indices of subsequent children in the list are incremented by the number of inserted children.

See Also

Manipulating Child Nodes