normalizeAdjacentTextNodesPreservingCDATA(_:)
Coalesces adjacent text nodes of the receiver that you have explicitly added, optionally including CDATA sections.
Declaration
func normalizeAdjacentTextNodesPreservingCDATA(_ preserve: Bool)Parameters
Discussion
A text node with a value of an empty string is removed. When you process an input source of XML, adjacent text nodes are automatically normalized. You should invoke this method (with preserve as false) before using the XMLNode methods objects(forXQuery:constants:) or nodes(forXPath:).