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

admin2009-05-15  13

问题 DOM is a platform-and language-(11)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(12). DOM is a(13)-based API to documents, which requires the whole document to be represented in(14)while processing, it. A simpler alternative to DOM is the event-based SAX, which can be used to process very large(15)documents that do not fit info 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/6KUZ777K
0

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