Research and Implementation on XML Schema Based Tool for Generating XML Documents Automatically
- Author
- WangChunZuo
- Advisor
- LiuHongXing
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP312.2 Programming language ALGOL
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 192
- Citations
- 2
Abstract
XML(eXtensible Markup Language) has become the most important standard for representing、storing and exchanging data on Internet/Intranet.XML instance document is used to record the specific information for application;its validity is usually validated by W3C XML Schema Definition(XSD).Since the generated XML instance documents need to be consistent with the specific requirements of the XML schema,so it is not easy to generate the valid instance document,it is need to be supported by tools.For this phenomenon and the need,a Form-based method is proposed in this thesis.According to this method,users can input data into the form which is automatically generated according to XSD document,and then get valid XML instance documents.This thesis investigates some issues related to the W3C XML Schema components "domain" and tools of XML automatically generated,which include the"domain" research,the rules of XSD components mapping,the algorithm of transformation from XSD document to form and the algorithm of transformation from form to XML instance document The main content of this work can be summarized as follows:Analyzing and comparing the advantage and disadvantage of the existing methods of XML document generation;Establishing W3C XML Schema component "domain" for this thesis and the mapping rules from XML Schema components to the Windows components.Researching IBM Infoset Model class library and proposing the algorithm from the existing XSD file to form.Researching XML instance document generated algorithm from the form with content according to the syntax and semantic constraints of the schema after user inputing data.Based on the mapping rule and algorithms,an interactive and visual tool-FormX which is based on the Eclipse integrated development environment is designed and implemented.
Table of contents
Abstract 4-5
Abstract 5-10
Chapter 1 Introduction 10-15
1.1 Background 10-11
120 domestic and international research 11-12
1.3 Research objectives and main tasks 12-13
This paper aims
1.3.1 12
1.3.2 In this paper, the main work 12-13
1.4 paper organization 13-14
jargon and abbreviations in the text
1.5 14-15
Chapter 2, XML and related technologies 15-25
2.1 of the basic concepts 15-17
2.1.1 of MDA modeling framework 15-16
2.1.2 the basic concepts 16-17
2.2 XML Overview 17-19
2.2.1 XML About 17
2.2.2 XML characteristics 17-18
2.2.3 XML applications 18-19
2.3 parsing XML 19-20
2.3.1 DOM 19
2.3.2 SAX 19-20
2.3.3 XML Schema Infoset Model 20
2.4 Java Swing 20-24
2.4.1 Java Swing About 20-21
2.4.2 Java Swing components 21
2.4.3 Swing event handling 21-22
2.4.4 Swing package of interface components 22-24
2.5 Eclipse Modeling Framework 24
2.6 Summary 24-25
Chapter 3 of the W3C XML Schema components
domain 25-39
3.1 XML Schema Introduction 25-27
3.1.1 XML Schema specification 26
3.1.2 of XML Schema features of 26-27
3.2 of XML Schema components domain, 27-34
3.2.1 20/80 experience 28
3.2.2 XML Schema components 28-30
3.2.3 FormX support XML Schema components 30-34
3.3 of XML Schema component definitions in the domain components of the meaning and usage of 34-38
3.4 Summary 38-39
Chapter 4 FormX 'design and algorithm research 39-51
4.1 FormX function and design 39-40
the 4.1.1 FormX Features and Benefits 39
the 4.1.2 FormX design 39-40
4.2 component mapping 40-41
4.3 conversion algorithm design 41-50
4.3.1 data structures 42-44
4.3.2 XSD schema document is converted to Form form.; 44-47
4.3.3 instance of the form as an XML instance document 47-50
4.4 Summary 50-51
Chapter 5 based on the implementation and testing of the Eclipse platform FormX 51-70
5.1 Eclipse development platform 51-53
5.1.1 Eclipse development platform 51-52
5.1.2 of the Eclipse development platform features 52
5.1.3 Eclipse development platform architecture 52-53
5.2 XSD processing technology 53-59
5.2.1 Infoset model Introduction 53-54
5.2.2 Infoset model component class 54-58
5.2.3 Infoset model class library 58-59
5.3 system 59-64
5.3.1 the XSD schema document loading 60-62
5.3.2 document tree of the XSD mode generated 62
5.3.3 Form form generated 62-63
5.3.4 XML instance document generation 63-64
5.4 instance test 64-69
5.5 Summary 69-70
Chapter 6 Summary and outlook 70-72
6.1 The summary of the work 70-71
6.2 Next research program 71-72
References 72-75
thank 75-76
master's degree during the papers and participation in the research situation 76
Related dissertations
- Dynamic Geometry Construction Language Based on XML
- Optimizing Twig Query Pattern Based on XML Schema
- Research on Personalized Print Design Platform Based B/S Mode
- Research on System Modeling of Web-to-print Service Platform
- A Study of Coding Index Based on Schema
- Research on Named Entity Disambiguation in Deep Web
- Research of XML Schema-Based Optimization for Middleware of Heterogeneous Database
- On the methods of Spatial Metadata Management Based on relational database
- Study of Storage Model in Native XML Database
- Design and Realization of Heterogeneous Database Conversion and Integration
- Research and Implementation of Metadata Management System in Guangxi Beibu Gulf of Scientific Data Sharing Platform
- A Twig Query Oriented XML Type Inference
- The Research of XML Schema Matching Algorithms
- Research on the Metadata Storage Base on Content Management
- A Design and Implementation of the Foreign Trade Goods Inventory Management System Based on XML Date Storage Techonlogy
- Study of Constructing and Applying XML Schema of Chinese National Health Data Dictionary
- Research on Home Networking System Based on XML/BACnet
- On XML Database Query and XML Schema Integration
- Research and Realization of Manufacturing Process Integration Framework Based on XML
- Study on Native XML Database Based on Product Life Cycle Data