Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Convert Data into XML format. XSD schema mapped conversion
Let's say you have a CSV file that needs to be converted to XML based on XSD file. You got an XSD file and you have to create XML using the XSD file and then you have to send that XML with data to another application on different server and different location, where some another application will get data from that XML, process the data and return the result back to you. How to create XML using XSD in XML Converter interface? How to generate an XML file based on the schema you are given with? Rustemsoft XML Converter offers two interchangeable schema methods for XML multi-dimensional conversion. You can select one of the following conversion methods:
- External XSD schema mapped conversion
- Predefined XML Transformation Scenario
You should select the first "External XSD schema mapped conversion" method when you got XSD schema file where XML output structure is specified.
To get one of the transformation interface at runtime we have to specify "Interchangeable Schemas for conversion" checkbox. To do that in XML Converter interface go to: Tools -> Options -> Common.
First you have to open an XSD schema file that you have stored on your hard drive or other network location. Push "Open XSD schema" button and select an XSD file you need to work on. If the selected XSD is correct it will be expanded as a structured tree in "XSD schema mapped conversion" interface window. Each tree node marked as a blue triangle has a unique name. These nodes will represent elements of your XML output file.
When you click on each schema node/element a dropdown list will appear. The dropdown list presents column names of data source that you want to convert to XML. You have to assign the columns in each elements of the schema with the column names values.
By clicking "Ok" button you will store XSD schema settings and then XML output will be produced.
XML editing and validation tool XMLFox Advance editor for creating valid well-formed XML documents and/or XSD Schema. XMLFox schema editor enables you to easily develop advanced data models expressed in XSD Schema. It is the XML Schema Editor to provide a synchronized split-pane interface that simultaneously shows both a visual XML Schema representation and the XML code content, with changes in one tab instantly reflected in the other.