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.

1.[单选题]

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.text
  • B.image
  • C.page
  • D.graphic
2.[单选题]

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.document
  • B.processor
  • C.disc
  • D.memory
3.[单选题]

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.table
  • B.tree
  • C.control
  • D.event
4.[单选题]

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.specific
  • B.neutra
  • C.contained
  • D.related
5.[单选题]

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
参考答案: C,D,B,B,A
解题思路:DOM是一种与平台和语言无关的应用程序接口(API),它可以动态地访问程序和脚本,更新其内容、结构和WWW文档的风格(目前,HTML和XML文档是通过说明部分定义的)。文档可以进一步被处理,处理的结果可以加入到当前的页面。DOM是一种基于树的API文档,它要求在处理过程中整个文档都表示在存储器中。另外一种简单的API是基于事件的SAX,它可以用于处理很大的XML文档,由于大,所以不适合全部放在存储器中处理。 >>>立即刷题