本篇論文提出XML編輯器應該具備的編修機制。在樹狀呈現方面,我們劃分三種呈現視窗,提出局部呈現,並提出選擇性呈現;在樹狀運動方面,我們分析六種基本運動,並引用XPath語言來強化搜尋機制;在樹狀編修方面,我們提出樹狀建構與規範下的編修。我們依據以上的理念實作出XML編輯器的雛形系統。在實作上,我們引用swing套件中樹狀窗的資料結構,經由物件導向技術中的繼承與虛擬函數,來組成編輯器的運作功能。 In this paper, ideal editing mechanism for XML editors is presented. In tree-style presentation, an XML document is presented in three separate windows with local presentation and optional presentation. In tree-style movement, we analyze six kinds of basic movements, and introduce the XPath language to enhance the searching operation. In tree-style modification, the tree construction process and the normalized modification are proposed. A prototype of XML editor supporting the ideal editing mechanism has been developed. In its implementation, the data structure of tree view window in the swing package is adopted, and the editor is constructed by the inheritance and virtual functions of object-oriented technique.
關聯:
二○○四年數位生活與網際網路科技研討會論文集=Proceedings of 2004 Symposium on Digital Life and Internet Technologies,8頁