问题 单项选择题

DOM is a platform- and language-(1)API that allows programs and scripts to dynamically access and update the content, structure and style of WWW documents (currently,definitions for HTML and XML documents are part of the specification). The document can be further processed and the results of that processing can be incorporated back into the presented(2).DOM is a (3) -based API to documents, which requires the whole document to be represented in (4)while processing it.A simpler alternative to DOM is the event-based SAX, which can be used to process very large (5) documents that do not fit into the memory available for processing.

空白(2)处应选择()

A.text

B.Image

C.Page

D.graphic

答案

参考答案:C

解析:DOM是一个与平台和语言无关的接口,允许程序和脚本访问和更新万维网文档内容、结构和类型(目前,定义HTML和XML文档作为规范的一部分)。这些文档可以被进一步的处理,处理结果可以组成一个有效的页面。DOM是一个基于树的接口,当处理时需要读入整个文档到内存中。一种DOM的替代技术是基于事件的SAX,它可以用来处理不适合进入内存处理的非常大的XML文档。

单项选择题
单项选择题