原始元素:外观及观感,概念,数据
这意味着文档顺序以及包含空格的原始元素内容将被保留。
This means that the document order is preserved as well as the original element content with whitespace.
将原始元素拷贝到一个脱离文档的节点中,修改副本,然后覆盖原始元素。
Copy the original element into an off-document node, modify the copy, and then replace the original element once you're done.
应用推荐