Function Node.normalize
Puts all Text nodes in the full depth of the sub-tree underneath this
Node, including attribute nodes, into a "normal" form where only structure
(e.g., elements, comments, processing instructions, CDATA sections, and entity
references) separates Text nodes, i.e., there are neither adjacent Text
nodes nor empty Text nodes. This can be used to ensure that the DOM view
of a document is the same as if it were saved and re-loaded.
Prototype
void normalize();
Authors
Lodovico Giaretta
Copyright
Copyright Lodovico Giaretta 2016 --