The normalize MethodThe normalize method enables you to merge adjacent text nodes in a document into a single node. Sometimes, when you're inserting text nodes into a document, you can end up with two or more side by side. That's not a problem for HTML browsers, but it can be for XML browsers. To fix this problem, you can merge adjacent text nodes with the normalize method. You can see the support for this method in Table 6.34. Table 6.34. The normalize Method
|