> Hi,
>
[quoted text clipped - 5 lines]
>
> What this method will do? Can anyone explain me with an example?
What this method does is combine all adjacent text nodes into one, via
something like this pseudocode:
for all nodes which have this node as an ancestor:
if node is a text node:
if nextSibling is a text node:
append nextSibling.nodeValue to my nodeValue
remove nextSibling from tree