[this page | pdf | back links]
In theory, the normalizeDocument() method (when
empty text nodes and joins adjacent text nodes. It has the same effect (when
applied to the document as a whole) as normalize()
(but the latter can also be applied at lower node levels in isolation).
In practice, normalizeDocument() does not currently
seem to be supported by major browsers, so it is likely to be more robust to
has the following syntax with no parameters. It does not return a value.