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文档指定了树型表示。
应用推荐