Create an XML data source from an XSD schema file

Applies to: Denodo 8.0 , Denodo 7.0 , Denodo 6.0
Last modified on: 26 May 2020
Tags: XML data sources

Download document

You can translate the document:


XML data sources in Denodo can be created using an XML file as a sample or template, or directly using an XSD schema file. When an XSD file is provided, Denodo will create the structure of the view based on the schema definition.

However, there are some XSD files that can not be used directly to create a data source, for instance, XSDs with recursive data types. In these cases, a sample XML can be generated from the XSD schema and this XML can be used to create the data source. This document explains how to generate this template XML from the XSD using Eclipse.

How to generate a template XML from the XSD in Eclipse

  1. Create a new Eclipse project and add the XSD file (including its dependencies)

  1. Right-click the XSD file and go to  Generate → XML File...

  1. Choose the name and path of the XML file to be generated and click on Next.
  2. Select the root element, and choose whether to add the optional attributes and elements to the resulting XML. In the case of recursive types, you can indicate the depth to be used in the generated XML file.

  1. Click on Finish. The resulting XML can be now used to create a new data source in Denodo.


Ask a question
You must sign in to ask a question. If you do not have an account, you can register here

Featured content


Ready for more? Great! We offer a comprehensive set of training courses, taught by our technical instructors in small, private groups for getting a full, in-depth guided training in the usage of the Denodo Platform. Check out our training courses.