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
nilto remove all children.