Contents

setChildren(_:)

Sets the child nodes of the receiver.

Declaration

func setChildren(_ children: [XMLNode]?)

Parameters

  • children:

    An array of Xmlnode objects. Each of these objects must represent comments, processing instructions, or the root element; otherwise, an exception is raised. Pass in nil to remove all children.

See Also

Adding and Removing Child Nodes