wholeText property

String get wholeText

The read-only wholeText property of the Text interface returns the full text of all Text nodes logically adjacent to the node. The text is concatenated in document order. This allows specifying any text node and obtaining all adjacent text as a single string.

Note: This is similar to call Node.normalize followed by reading the text value, but without modifying the tree.

Implementation

external String get wholeText;