The specification also treats every part of the document as a node consisting of a type and a value.
此规范还将文档的每一部分当成由一个类型和一个值组成的节点来对待。
The specification also treats every part of the document as a node, consisting of a type and a value.
该规范同样将文档的每个部分看成由类型和值组成的节点。
For example, if a certain element is always a leaf node in a particular document type (and has no XML attributes), you might want to refer to its PCDATA just by the node name itself.
比方说,如果特定文档中某个元素总是叶子节点(而且没有xml属性),您可能希望通过节点名本身来引用其PC DATA。
应用推荐