Learn to use the document Object Model (DOM), a tree API that provides direct access to parts of an XML document.
学习使用文档对象模型(Document Object Model, DOM),使用这种树api可以直接访问XML文档的各个部分。
Since the user is not using a tree-based object model to access this part of the document, constructing the entire tree would lead to a waste of memory due to replication of data.
因为用户不使用基于树的对象模型来访问这部分文档,所以构造完整的树会因为数据重复而浪费内存。
The document Object Model specifies a tree-based representation for an XML document.
文档对象模型为XML文档指定了树型表示。
Next, let's examine some important scenarios associated with the Document Object Model (DOM) -including loading, saving, walking a DOM tree, and creating a new DOM tree in memory.
接下去,让我们讨论一些在文档对象模型(DOM)中很重要的场景,包括载入,保存,遍历DOM树和在内存中创建一个新的DOM树。
Once an XML Document Object Model (DOM) is in memory, you can remove nodes from the tree, or remove content and values from certain node types.
XML文档对象模型(DOM)在内存中之后,可以移除树中的节点,或移除特定节点类型中的内容和值。
Once an XML Document Object Model (DOM) is in memory, you can remove nodes from the tree, or remove content and values from certain node types.
XML文档对象模型(DOM)在内存中之后,可以移除树中的节点,或移除特定节点类型中的内容和值。
应用推荐