/
NR-------> Child: CPT<---------CPT

NR-------> Child: CPT<---------CPT

If the node is a CDATA section, a comment, a processing instruction, or a text node, textContent returns, or sets, the text inside the node, i.e., the Node.nodeValue.

For other node types, textContent returns the concatenation of the textContent of every child node, excluding comments and processing instructions. (This is an empty string if the node has no children.)





NR-------> Parent CPT<---------CPT

Related content