DOM is a platform-and language- (1) API that allows programs and scripts to dynamically access and update the content, structur

admin2009-09-04  54

问题 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.

选项 A、XML
B、HTML
C、script
D、web

答案A

解析 译文如下:DOM是一种独立于平台和语言的API,它允许程序和脚本语言动态地访问和更新 WWW文档的内容、结构以及形式(目前对HTML和XML文档的定义也是这些规范的一部分)。这些文档可以近一步地被处理,然后处理的结果被传送到当前页面。DOM是一种树型的API文档,在处理这种文档的时候,要求将整个文档在内存中进行表示。DOM的一种简单解决方案就是采用基于事件的SAX,它可以用来处理不适合在内存中处理的大量的XML文档。
转载请注明原文地址:https://kaotiyun.com/show/ZrxZ777K
0

相关试题推荐
最新回复(0)