In fact, we need to traverse all of the children, checking for nodes of type Text, and collating their values until we have the complete value.
事实上,需要遍历所有子节点,检查类型为Text的节点,并整理它们的值,直到得到完整的值为止。
2
In fact, you need to traverse all of the children, checking for nodes of type Node.TEXT_NODE, and collate their values until you have the complete value.
实际上,您需要遍历所有子节点,以核对NODE . TEXT _ node类型的节点,并且整理它们的值直到有完整的值为止。