XML (eXtensible Markup Language)已經快速成為網際網路上資料交換的標準,其架構適合用來描述複雜的資料結構並提供XML文件驗證的機制。要交換XML文件,就必須使用綱要語言來制定XML語彙,因而由此衍生出XML綱要設計之問題。在本篇研究中,將研究UML資料模型與XML綱要之間轉換的議題並發展一個可進行雙向轉換的模型。此轉換模型包含二部份,一是從UML資料模型結構轉換為XML綱要結構,一是從XML綱要結構反向轉換為UML資料模型結構;這二個模型將分別探討XML DTD (Data Type Definition)及 W3C XML Schema二個主題,將這二個子模型分別從語法及語意轉換之層面切入進行一連串結構轉換規則之延伸及建立。在XML綱要結構反向轉換為UML資料模型結構之模型中亦包含二個子模型,分別由XML綱要結構建立轉換之規則。我們建立此轉換模型之目的在於使UML資料模型結構及XML綱要結構間之轉換方法更為明確、簡單及容易使用,並透過系統實作來驗證其可行性。 / The (eXtensible Markup Language) XML is fast becoming the standard data exchange across the Internet. It is suitable to describe complex-structured data. It also provides a validation mechanism to validate vocabulary used in the XML document. In order to exchange XML document, XML vocabulary needs to be defined. As a result spread out the issues of XML schema design from here. In the research, UML data model and XML schema transformation issue have been studied to develop a bi-directional mapping and transformation model. We design the bidirectional mapping and transformation model in two parts. One is from UML data model to XML schema; another is from XML Schema to UML data model. Each part has two explored subject, including XML DTD (Data Type Definition) and W3C XML Schema. We develop a sequence of transformation rules from the viewpoints of syntactic and semantic transformation. These are also two parts in the transformation model of mapping from XML schema to UML data model. We develop transformation rules from the viewpoints of generic XML constructs step by step. We build up the transformation model to make transformation method more generic, genuine, systematic, explicit, simple and easy to use. Besides, we implement a transformation editor to validate the bi-directional transformation model.
Identifer | oai:union.ndltd.org:CHENGCHI/G0090356040 |
Creators | 郭宛毓, Wan-Yu Kuo |
Publisher | 國立政治大學 |
Source Sets | National Chengchi University Libraries |
Language | 英文 |
Detected Language | English |
Type | text |
Rights | Copyright © nccu library on behalf of the copyright holders |
Page generated in 0.002 seconds