This section presents a way to represent documents based purely on objects. Based on 8 years of experience with SGML and HTML, and studying the proposed XML and Dynamic HTML standards, we have come to the conclusion that there is no reason to use tagging languages for preparation of electronic documents. The DOM is easily extended to incorporate new elements. The DOM provides all the expressive power of these tagging languages.
Objects can specify behavior as well as structure.
And through the use of object editors, creation and maintenance of documents is supported in an environment which facilitates collaborative workgroups. Any document can be represented by a document structure hierarchy as shown in Figure 1. For example, a document consists of title, author, and body. The body consists of sections, each section contains one or more paragraphs, tables, lists, or figures. Each paragraph contains a sequence of plain text, emphasized text, and other elements.