XmlNormalizerExtension extension

on

Methods

normalize({Predicate<XmlText>? trimWhitespace, Predicate<XmlText>? collapseWhitespace}) → void
Puts all child nodes into a "normalized" form, that is no text nodes in the sub-tree are empty and there are no adjacent text nodes.