Journal of Educational Media and Library Sciences


Vol. 38 No. 4 , Pages 407 - 438 , 2001

Document Object Model and Its Application on XML Document Processing (Article written in chinese)

Sinn-cheng LIN

Abstract

Document Object Model (DOM) is an application-programming interface that can be applied to process XML documents. It defines the logical structure, the accessing interfaces and the operation methods for the document. In the DOM, an original document is mapped to a tree structure. Therefore, the computer program can easily traverse the tree and manipulate the nodes in the tree. In this paper, the fundamental models, definitions and specifications of DOM are surveyed. Then we create an experimental system of DOM called XML On-Line Parser. The front-end of the system is built by the Web-based user interface for the XML document input and the parsed result output. On the other hand, the back-end of the system is built by an ASP program, which transforms the original document to DOM tree for document manipulation. This on-line system can be linked with a general-purpose web browser to check the well-formedness and the validity of the XML documents.

Keywords: Document object model; XML; Document processing

[Index | Journal of Educational Media and Library Sciences | Other Journals | Subscription form | Enquiry ]


Mail any comments and suggestions to hkier-journal@cuhk.edu.hk .