跳到主要內容

臺灣博碩士論文加值系統

(216.73.216.106) 您好!臺灣時間:2026/04/05 01:56
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

我願授權國圖
: 
twitterline
研究生:翁浩庭
研究生(外文):Hao-Ting Weng
論文名稱:XML編輯器的規劃與實作
論文名稱(外文):Design and Implementation of an XML Editor
指導教授:廖賀田
指導教授(外文):Heh-Tyan Liaw
學位類別:碩士
校院名稱:淡江大學
系所名稱:資訊管理學系
學門:電算機學門
學類:電算機一般學類
論文種類:學術論文
論文出版年:2002
畢業學年度:90
語文別:中文
論文頁數:66
中文關鍵詞:標記語言可擴展標記語言文件型別定義XML指標語言編輯器
外文關鍵詞:Markup LanguageExtensible Markup LanguageXMLDocument Type DefinitionDTDXML Pointer LanguageXPointerEditor
相關次數:
  • 被引用被引用:0
  • 點閱點閱:235
  • 評分評分:
  • 下載下載:0
  • 收藏至我的研究室書目清單書目收藏:0
XML(Extensible Markup Language)為一著名的自我編寫的標記語言(Markup Language),我們可以使用它來描述資料,且比許多需要嚴謹標記的語言(如HTML)允許使用更多資料結構,這種XML的資料結構描述機制代表著它是一個可以讓大眾在網路上分享資訊的良好方法,另外它是公開的及具有自我描述的特性,而且可以不經事先的溝通就可以在軟體間分享資料,使得它成為企業與企業和外部網路的最有效解決方案。XPointer(XML Pointer Language)是一種指向XML文件中特定位置的機制,它改善了HTML只能經由HTML Pointer指向目標文件的某個資源的缺點,只要使用Fragment Identifier,我們就可任意地參照XML文件的任何位置及資源。
本篇論文探討一個以XML文件為基礎之編輯器的功能及其規劃與實作方法,再依據規劃與實作方法提出系統架構,並完成編輯器的實作,此編輯器包含了XML文件的瀏覽、編輯、定址與搜尋等功能。本篇論文將編輯器的規劃分成三大重點:在圖形使用介面之規劃當中,提供樹狀窗、文件窗、屬性窗的劃分,並提出局部呈現、選擇性呈現等設計理念;在強力的定位機能的規劃當中,提出位置的復原與再現的設計理念,並實作目前剛出爐且未有應用程式支援的XPointer機制,TkXE規劃兩種定址方式,第一種為基本移動功能,可提供使用者快速且方便地在節點之間游走,第二種為搜尋功能,可提供使用者定址XML文件中的某一區段如子樹狀結構、屬性甚或文字內容中的某一字元;在規範下的編修方式當中,提出樹狀編輯、標記功能與編修的復原與再現的設計理念;最後在本論文中並以規劃與實作XML編輯器的過程來探討XPointer與XML之間的關係,以及找出在規劃與實作過程中所發現的問題並提出其解決方法。

XML(Extensible Markup Language) is a well known self-describe markup language. We can use it to describe the data object, and it allows more data structure constructions than other explicit markup languages such as HTML. The XML data structure description organism is the best solution for information sharing on the Internet. The standard of data structure, without communicate in advance, and the feature of self-description make data exchange much easier than others. It is becoming the first choice for enterprise data interchange. XPointer(XML Pointer Language) is a new allocating organism for XML. It improves the HTML's restriction that only HTML Pointer can point to document. Using the Fragment Identifier, we can easily refer the XML's document to any resources.
This paper discuss about the planning and implementation of XML editor based on standard XML organism. From planning to implementation, steps by steps show the system structure and editor coding. The features of the editor include the browsing, editing, allocating and searching. The planning of editor is divided to three parts: the Graphic User Interface planning, the Powerful Locating Capability planning and Normalized Editing planning. The Graphic User Interface planning including several concepts: tree windows, document window, attribute window, partially display and selected display. The Powerful Locating Capability planning shows the Location Undo and Redo designing concept and implement the newest XPointer organism. TkXE has two pointing method, one is Basic Moving Function which support the user rapidly travel among nodes. The other is Searching Function which support the users allocate the specific segment on the XML documents. The function is like searching a function and attribute from a subtree, or the looking for a character among the paragraph. The Normalized Editing planing are based on Subtree Editing, Markup Function and Modification Undo and Redo designing concept. During the implementation that based on the planning concepts, the relationship between the XPointer and XML are discussed. Furthermore, the problems are identified and the solutions are found during the planning and implementation.

中文摘要.............................................. I
英文摘要.............................................. II
圖目錄................................................ V
表目錄................................................ VI
第一章 緒論......................................... 1
第一節 研究目的與動機............................... 1
第二節 TkXE的用途................................... 2
第三節 相關工具與研究............................... 2
第四節 論文貢獻..................................... 4
第五節 論文組織..................................... 6
第二章 TkXE設計理念................................. 7
第一節 圖形使用介面之規劃........................... 7
一. 樹狀窗、文件窗與屬性窗的劃分................. 7
二. 局部呈現與選擇性呈現......................... 9
第二節 強力的定位機能(Powerful Locating Capability) 11
一. 基本移動(Basic Moving) ...................... 12
二. 利用XPointer做強力的搜尋(Search) ............ 12
三. 位置的復原與再現(Location Undo/Redo) ........ 14
第三節 規範下的編修方式............................. 15
一. 樹狀編輯..................................... 15
二. 標記功能..................................... 17
三. 編修的復原與再現(Modification Undo/Redo)..... 20
第三章 TkXE的外觀與操作............................. 22
第一節 一份典型的XML文件............................ 22
第二節 使用介面的分項討論........................... 23
一. 標題列....................................... 23
二. 樹狀窗....................................... 24
三. 文件窗....................................... 24
四. 屬性窗....................................... 25
五. 切換標籤..................................... 25
六. 選單列....................................... 25
七. 工具列....................................... 26
八. 狀態列....................................... 26
九. 動態彈出式快顯功能表......................... 27
第三節 產生新XML文件................................ 27
第四節 Xpointer的操作............................... 29
第四章 TkXE系統架構................................. 34
第一節 TkXE的系統架構與實作......................... 34
第二節 XML文件的剖析(Parsing) ...................... 37
第三節 TkXE物件結構及繼承關係....................... 39
第四節 XPointer的實作............................... 41
第五章 結論與展望................................... 44
第一節 結論......................................... 44
第二節 後續工作..................................... 47
一. 驗證XML文件.................................. 47
二. XLink........................................ 49
參考文獻.............................................. 51
附錄.................................................. 52
一. XML文件的組成................................ 52
二. DTD介紹...................................... 59
三. XPointer介紹................................. 60

[ML00] W3C,Extensible Markup Language (XML) 1.0 (Second Edition), http://www.w3.org/TR/2000/REC-xml-20001006,2000,Ch 2、Ch 2.1、Ch 2.3、Ch 2.8、Ch 3.1、Ch 3.2、Ch 3.3、Ch 4.7、Ch 4.8,Appendix B。
[PA99] W3C,XML Path Language (XPath) Version 1.0, http://www.w3.org/TR/1999/REC-xpath-19991116,1999,Ch 1、Ch 2.1、Ch 2.2、Ch 2.3、Ch 2.4。
[PO01] W3C,XML Pointer Language (XPointer) Version 1.0,http://www.w3.org/TR/2001/CR-xptr-20010911/,2001, Ch 1,Ch 4.2,Ch 5。
[IS01] W3C,XML Information Set,http://www.w3.org/TR/2001/REC-xml-infoset-20011024/,2001,Ch 2。
[DO00] W3C,Document Object Model (DOM) Level 2 Core Specification Version 1.0,http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/,2000,Ch 1.2。
[XL01] W3C,XML Linking Language (XLink) Version 1.0,http://www.w3.org/TR/2001/REC-xlink-20010627/,2001,Ch 5。
[SA02] SAX Official Website,Simple API for Java 2.0.1,http://www.saxproject.org/,2002。
[Sw97] Sun,Creating a GUI with JFC/Swing,http://java.sun.com/docs/books/tutorial/uiswing/index.html,1997。
[IE01] Microsoft,Microsoft Internet Explorer 6,http://www.microsoft.com/taiwan/products/ie/,2001。
[VS02] Microsoft,Microsoft Visual Studio IDE,http://www.microsoft.com/taiwan/vstudio/,2002。
[UE02] IDM Computer Solution, Inc.,UltraEdit 9.10,http://www.idmcomp.com/,2002。
[AC01] Adobe,Adobe Acrobat 5,http://www.adobe.com/products/acrobat/main.html,2001。

QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top