Font Size: a A A

Design And Implementation Of XHTML Document On-line Editor

Posted on:2006-10-10Degree:MasterType:Thesis
Country:ChinaCandidate:X B KongFull Text:PDF
GTID:2168360152470507Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of electronic business and electronic government affair, the need of the online editor becomes more and more common. But the editor that can edit the electron document with the structure of the clause doesn't be invented. It has greatly practical significance to develop the editor that can support the special operation of the clause.The summary design and the some modules design are described in the paper. The editing function is realized by using COM component. The three-tier architecture of the system is made up of the operation logic tier, the interface tier and the server tier. The editor modifies the document dynamically based on the DOM. The editor modifies the document, the root of the document, the element, and the content of the element by looking them as the object.The feature of the editor and some arithmetic of the function are described. The contract document is made up of the several clauses and the clause is made up of the sub-clauses in all levels. A clause can be viewed as a tree structure and the several clauses make up of the forest. The inheritance method is used to go through the tree. The paper describe how the editor to add or modify or delete any clauses and how to promote/demote the clause. The editor reset the sequence number after adding or deleting the clauses to ensure the sequence numbers of the clauses are ordinal. The paper describes how to handle the presentation-styles for a block of text without using API function. The editor handles the pagination using the resize event of the html element and using the hide node technology to keep the entire tree structure which be pushed to the next page. Using delay handle technology that just handle the pagination and reset the sequence numbers in the display area. The paper describes the editor how to handle the template which can be used to define the presentation-styles for the clause and the content of the page header and footer.As a new generation markup language, XHTML is HTML with the XML criterion. XHTML is more structural and expansible. The editor uses the Web Service technology to convert the content of the document from the HTML to XHTML and save the document into the database.
Keywords/Search Tags:Editor, DOM, Resetting sequence number, XHTML
PDF Full Text Request
Related items