Font Size: a A A

Research And Implementation On XML Schema Based Tool For Generating XML Documents Automatically

Posted on:2010-12-21Degree:MasterType:Thesis
Country:ChinaCandidate:C Y WangFull Text:PDF
GTID:2178360275951596Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:XML Schema, XML Instance Document, Mapping and Transforming, Infoset Model, Form List
PDF Full Text Request
Related items