setChildren(_:)
Sets all child nodes of the receiver at once, replacing any existing children.
Declaration
func setChildren(_ children: [XMLNode]?)Parameters
- children:
An array of
NSXMLElementobjects or Xmlnode objects of kinds Element, Processinginstruction, Text, or Comment.
Discussion
Send this message with children as nil to remove all child nodes.