Method XmlNode():removeChilds() Foundation

Removes child nodes with a given name.

Syntax
:removeChilds( <cName> ) --> self
Parameters
<cName>
A character string with the name of the child nodes which are to be removed. The node name must be specified as a local name, that is, as the node name without a namespace qualifier.
Return

:removeChilds() returns the object executing the method.

Description

The method :removeChilds() removes all child nodes with a given name. If only a specific child node is to be removed, the method :removeChild() may be used instead.

The node name specified in <cName> is case-insensitive. This behavior is Xbase++-specific. Although it does not conform to the XML standard, the case-insensitive behavior is in line with how names and symbols are treated in the Xbase++ language.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.