问题 单项选择题

DOM is a platform-and language- (71) API that allows programs and scripts todynamically access and update the content. structure and style of WWW documents(currently,definitions for HTML and XML documents are part ofthe specification).Thedocument can be further processed and the results of that processing can be incorporated backinto the presented (72) .DOM is a (73) -based API to documents,which requires the wholedocument to be represented in (74) while processing it.A simpler altemative to DOM is the event—based SAX,which can be used to process very large (75) documents that do not fitinfo the memory available for processing.

A.XML
B.HTML
C.script
D.web

答案

参考答案:A

解析:DOM是一种独立于平台和语言的API,它允许程序和脚本语言动态地访问和更新WWW文档的内容、结构及形式(目前对HTML和XML文档的定义也是这些规范的一部分)。这些文档可以被进一步处理,处理的结果被传送到当前页面。DOM是一种树形的API文档,在处理这种文档的时候,要求将整个文档在内存中进行表示。DOM的一种简单解决方案就是基于事件的SAX,它可以用来处理大量的XML文档,在处理文

单项选择题 A2型题
单项选择题