W3C Document Object Model (DOM)-Introduction

from:http://xml.coverpages.org/dom.html#intro

The W3C Document Object Model is a "platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents. The document can be further processed and the results of that processing can be incorporated back into the presented page."

I:W3C文档对象模型是一个“与平台无关的接口,该接口允许程序和脚本动态访问和更新文档的内容、结构和风格。文档可以进一步处理,处理结果可以合并到已经显示的页面。”


"The goal of the DOM group is to define a programmatic interface for XML and HTML. The DOM is separated into three parts: Core, HTML, and XML. The Core DOM provides a low-level set of objects that can represent any structured document. While by itself this interface is capable of representing any HTML or XML document, the core interface is a compact and minimal design for manipulating the document's contents. Depending upon the DOM's usage, the core DOM interface may not be convenient or appropriate for all users. The HTML and XML specifications provide additional, higher-level interfaces that are used with the core specification to provide a more convenient view into the document. These specifications consist of objects and methods that provide easier and more direct access into the specific types of documents. Key industry players are participating in the DOM Working Group, including editors and contributors from ArborText, IBM, Inso EPS, JavaSoft, Microsoft, Netscape, Novell, the Object Management Group, SoftQuad, Sun Microsystems, Texcel, and W3C." The Chair of the W3C DOM WG is Lauren Wood of SoftQuad.

I:DOM工作组的目标是定义一组XML和HTML的编程接口。DOM分为三个部分:核心、HTML和XMl。核心DOM提供了一个低级别的对象集合来表示结构化的文档,虽然这个接口本身能够代表任何HTML或者XML文档,但却能够简约、紧凑的操纵文档内容。按照DOM的用法,核心DOM接口并不适合所有用户。HTML和XML规范提供了附加的、更高级的接口,来为核心规范文档提供更方便的视图。这些规范由对象和方法组成,为访问特定类型的文档提供了更加容易和直接的访问方式。行业的主流人员都参与到DOM工作组,包括从ArborText, IBM, Inso EPS, JavaSoft, Microsoft, Netscape, Novell, the Object Management Group, SoftQuad, Sun Microsystems, Texcel, and W3C来的编辑者和创始人。W3C工作组的Chair是SoftQuad的Lauren Wood.

The DOM specification "defines the Document Object Model, a platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents. The Document Object Model provides a standard set of objects for representing HTML and XML documents, a standard model of how these objects can be combined, and a standard interface for accessing and manipulating them. Vendors can support the DOM as an interface to their proprietary data structures and APIs, and content authors can write to the standard DOM interfaces rather than product-specific APIs, thus increasing interoperability on the Web."

I:DOM 规范定义了文档对象模型,一个与平台语言无关的接口,允许程序和脚本动态访问和更新内容、结构和文档风格。文档对象模型提供了一个标准的对象集合来表示HMML和XML文档,一个标准的怎样合并这些对象的模型,和一个用来访问和操作他们的标准接口。供应商可以把DOM作为他们专有数据结构和API的接口,也可以作为能够写标准DOM接口而不是特定API的内容,这样增强了Web操作的交互性。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值