• Node types are returned as integers, and allow you to handle each node appropriately; an element (type 1) has a name, but no value, whereas a text node (type 3) has a value but no name.

    节点类型以整数返回,并且允许您适当地处理每一个节点;一个元素(类型1)有名称没有值,但是一个文本节点(类型3)有值没有名称。

    youdao

  • 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属性),您可能希望通过节点名本身来引用其PCDATA。

    youdao

  • 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属性),您可能希望通过节点名本身来引用其PCDATA。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定