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

admin2009-05-15  39

问题 DOM is a platform-and language-(21)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(22). DOM is a(23)-based AP1 to documents, which requires the whole document to be represented in(24)while processing it. A simpler alternative to DOM is the event-based SAX, which can be used to process very large(25)documents that do not fit info the memory available for processing.

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

答案A

解析 DOM是一个与平台和语言无关(neutral)的API,它可以允许程序和脚本程序动态地访问和更新网页文档的内容、结构和类型(通常是规范中的HTIML和XML文档的定义)。文档能被进一步地处理,并且处理的结果能被具体表现到当前的页面(page)上。DOM是一个基于树(tree)的文档API,这需要在处理文档的时候,整篇的文档都要出现于内存(memory)中。一个简单的替换方法是使用基于事件的SAX,它能被用于处理非常大的XML文档,特别是当这个文档不适合全放在内存中的时候。
转载请注明原文地址:https://kaotiyun.com/show/9uxZ777K
0

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