透過您的圖書館登入
IP:3.149.27.202
  • 學位論文

XML樹狀編輯器的規劃與實作

Design and Implementation of an XML Tree Editor

指導教授 : 廖賀田

摘要


本論文分析XML文件的結構並提出樹狀模型,依據模型探討XML編輯器在展示與編修上的各種需求,然後據以設計並實作XML樹狀編輯器。 在展示上我們濾掉繁瑣的標籤與縮排用的空白類字元。使用者可以選擇呈現特定種類的節點,將子樹最大化或最小化,並使用子樹的局部捲軸。 在編修上我們提出目前工作樹(CWT)的概念。當游標落在節點資料內時,是以字元或列為編輯單位;當游標落在次級子樹之間,則是以次級子樹為編輯單位。基本編輯動作都是以CWT的編輯單位為基礎。當游標進入(或退出)子樹時,CWT會縮小(或擴大),由於編輯單位隨著CWT變更,文件就得以保持樹狀結構。此外,樹狀編輯器還支援特種編修動作,包括下推、上拉、標記配置、及標記轉換。

並列摘要


In this paper, the structure of XML documents is analyzed, and its tree model is proposed. Based on the model, the functions of an XML editor on displaying and editing are explored. And a Tree editor for XML documents are designed and implemented. On displaying, all the tedious tags and white spaces for indent are removed. The user can select the types of nodes to display, maximize/minimize a sub-tree, and use the local scrolling bar of a sub-tree. On editing, the concept of current working tree (CWT) is proposed. While the text cursor is located in node data, the unit of editing is a character or a line. While it is located between next-level sub-trees, the unit of editing is a next-level sub-tree. Elementary editing actions must base on the unit of editing. When the cursor enters or exits a sub-tree, the CWT will shrink or expand respectively. Since the unit of editing changes as well as the CWT, the tree structure of a document will be well preserved. Besides, special editing actions such as pushing down, pulling up, markup labeling, and markup transformation are supported by our tree editor.

並列關鍵字

XML Markup Language Tree Editor Object Oriented

參考文獻


[6] Microsoft Corporation, "Microsoft Internet Explorer 6.0", http://www.microsoft.com/IE/.
[1] Aho, Alfred V., "Compilers, principles, techniques, and tools", Wesley, Mar 1988.
[2] Altova GmbH, "XMLSpy 5.0 Enterprise Edition", http://www.altova.com/.
[3] IDM Computer Solution, Inc., "UltraEdit 9.10", http://www.idmcomp.com/2002/.
[4] K.Arnold, J.Gosling and D.Holmes, "The Java Programming Language 3rd Edition", Addison Wesley, June 2000.

被引用紀錄


高志銘(2007)。Java的樹狀編輯器〔碩士論文,淡江大學〕。華藝線上圖書館。https://doi.org/10.6846/TKU.2007.01047

延伸閱讀